14 lines
377 B
Nginx Configuration File
14 lines
377 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
client_max_body_size 10m;
|
|
location ~ /\. { deny all; }
|
|
location / {
|
|
proxy_pass http://app:80;
|
|
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;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
}
|