-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 6-rpm-support
Signed-off-by: Thomas Druez <tdruez@nexb.com> # Conflicts: # etc/requirements/base.txt
- Loading branch information
Showing
62 changed files
with
1,738 additions
and
1,226 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
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
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,27 @@ | ||
upstream gunicorn_app { | ||
server web:8000; | ||
} | ||
|
||
server { | ||
listen 80; | ||
return 301 https://$host$request_uri; | ||
} | ||
|
||
server { | ||
listen 443 ssl; | ||
ssl_certificate /etc/nginx/conf.d/fullchain1.pem; | ||
ssl_certificate_key /etc/nginx/conf.d/privkey1.pem; | ||
|
||
location / { | ||
proxy_pass http://gunicorn_app; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header Host $host; | ||
proxy_redirect off; | ||
client_max_body_size 10G; | ||
proxy_read_timeout 600s; | ||
} | ||
|
||
location /static/ { | ||
alias /var/scancodeio/static/; | ||
} | ||
} |
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,16 +1,13 @@ | ||
-r base.txt | ||
|
||
# Code validation | ||
pycodestyle==2.6.0 | ||
pycodestyle==2.7.0 | ||
black==20.8b1 | ||
isort==5.7.0 | ||
isort==5.8.0 | ||
|
||
# Documentation | ||
Sphinx==3.5.1 | ||
Sphinx==3.5.3 | ||
sphinx_rtd_theme==0.5.1 | ||
|
||
# Release | ||
bump2version==1.0.1 | ||
|
||
# Dependencies lock file | ||
pip_tools==5.5.0 |
Oops, something went wrong.