-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from flemk/development
Args and nginx cleanup
- Loading branch information
Showing
7 changed files
with
56 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
These versions are currently being supported with security updates. | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 0.1.1 | :heavy_check_mark: | | ||
|
||
## Reporting a Vulnerability | ||
Please use the github Security Advisories function in the "Security" tab: | ||
|
||
[https://github.com/flemk/python-licensing/security](https://github.com/flemk/python-licensing/security) | ||
|
||
The frequency of updates on vulnerabilities and the time-to-fix depends on the availability of maintainers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
return 301 https://$host$request_uri; | ||
events { | ||
worker_connections 1024; | ||
} | ||
|
||
server { | ||
listen %LICENSE_PORT_EXTERNAL% ssl; | ||
server_name localhost; | ||
http { | ||
server { | ||
listen 80; | ||
server_name localhost; | ||
return 301 https://$host$request_uri; | ||
} | ||
|
||
ssl_certificate /app/cert.pem; | ||
ssl_certificate_key /app/key.pem; | ||
server { | ||
listen %LICENSE_PORT_EXTERNAL% ssl; | ||
server_name localhost; | ||
|
||
location /check_license { | ||
proxy_pass http://localhost:%LICENSE_PORT%/check_license; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
ssl_certificate /app/cert.pem; | ||
ssl_certificate_key /app/key.pem; | ||
|
||
error_page 404 /404.html; | ||
error_page 500 502 503 504 /50x.html; | ||
location /check_license { | ||
proxy_pass http://localhost:%LICENSE_PORT%/check_license; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
|
||
error_page 404 /404.html; | ||
error_page 500 502 503 504 /50x.html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Flask>=2.2.5 | ||
psycopg2-binary==2.8.6 | ||
jinja2==3.1.3 | ||
Jinja2>=3.1.4 | ||
markupsafe==2.1.1 | ||
itsdangerous>=2.0 | ||
Werkzeug==2.3.8 | ||
waitress==3.0.0 | ||
Werkzeug>=3.0.3 | ||
waitress==3.0.0 |