15 lines
354 B
Nginx Configuration File
15 lines
354 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /api {
|
|
proxy_pass https://restapi.testsite.deinedorfapp.de;
|
|
proxy_set_header Host restapi.testsite.deinedorfapp.de;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
} |