mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-06 02:16:47 +00:00
21 lines
No EOL
423 B
Text
21 lines
No EOL
423 B
Text
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
access_log /var/log/nginx/example.log;
|
|
|
|
location /static/ {
|
|
autoindex off;
|
|
alias /static_files/;
|
|
}
|
|
|
|
location /media/ {
|
|
autoindex off;
|
|
alias /media/;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://web:8000;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $host;
|
|
}
|
|
} |