Last active
December 26, 2020 06:44
-
-
Save mhemrg/b8332ec4b64aae47105a229cca7074cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
location /static { | |
alias /usr/src/app/static; | |
} | |
location / { | |
try_files $uri @django_app; | |
client_max_body_size 100M; | |
} | |
location ~\.sqlite3$ { | |
deny all; | |
error_page 403 =404 /; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment