Created
September 1, 2020 21:56
-
-
Save arturataide/f02c8820bb27befa211ea0b9e2170c7e to your computer and use it in GitHub Desktop.
Nginx configuration
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
| server { | |
| listen 80; | |
| server_name YOUR_SERVER_NAME; | |
| charset utf-8; | |
| client_max_body_size 75M; | |
| location /static/ { | |
| alias /PROJECT_FOLDER/static/; | |
| } | |
| location /media/ { | |
| alias /PROJECT_FOLDER/media/; | |
| } | |
| location / { | |
| include uwsgi_params; | |
| uwsgi_pass 127.0.0.1:8000; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment