Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name wherefilmed.org;
- location = /favicon.ico { access_log off; log_not_found off; }
- location /static/ {
- root /home/ugrobug/wherefilmed;
- }
- location / {
- proxy_headers_hash_max_size 512;
- proxy_headers_hash_bucket_size 128;
- include proxy_params;
- proxy_pass http://unix:/run/gunicorn.sock;
- proxy_set_header X-Forwarded-Port $server_port;
- proxy_set_header X-Forwarded-Host $host;
- proxy_redirect off;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement