You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
462 B
Nginx Configuration File

server {
listen 8989;
server_name 192.168.10.94;
client_max_body_size 300M;
root /app/lemon/dist;
location ^~ /api {
proxy_pass http://lemon_web:8989;
proxy_set_header Host $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;
}
location / {
try_files $uri $uri/ /index.html;
}
}