config repair
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
# Serwowanie plików Vue
|
||||
# Przekieruj /odoo (bez slash) na /odoo/ (z slash)
|
||||
location = /odoo {
|
||||
return 301 /odoo/;
|
||||
}
|
||||
|
||||
# Serwowanie plików Vue pod /odoo/
|
||||
location /odoo/ {
|
||||
root /usr/share/nginx/html;
|
||||
alias /usr/share/nginx/html/;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ /odoo/index.html;
|
||||
}
|
||||
|
||||
# Proxy do backendu (niewidoczny z zewnątrz)
|
||||
|
||||
Reference in New Issue
Block a user