mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
410 B
17 lines
410 B
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
server_name _;
|
|
root /etc/nginx/www;
|
|
index index.html;
|
|
|
|
location / {
|
|
index index.html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /invoicer/ {
|
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
|
proxy_pass http://localhost:8181/api/;
|
|
}
|
|
}
|
|
|