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.
19 lines
429 B
Nginx Configuration File
19 lines
429 B
Nginx Configuration File
10 months ago
|
server {
|
||
|
listen 80;
|
||
|
server_name 192.168.10.94;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|