🐛 Fix devenv nginx config.

This commit is contained in:
Andrey Antukh 2020-11-11 12:55:59 +01:00
parent 10f146883a
commit c3ca59ac93

View file

@ -60,7 +60,7 @@ http {
etag off; etag off;
location / { location / {
root /home/uxbox/uxbox/frontend/resources/public; root /home/penpot/penpot/frontend/resources/public;
try_files $uri /index.html; try_files $uri /index.html;
add_header Cache-Control "no-cache, max-age=0"; add_header Cache-Control "no-cache, max-age=0";
} }
@ -74,7 +74,7 @@ http {
} }
location /playground { location /playground {
alias /home/uxbox/uxbox/experiments/; alias /home/penpot/penpot/experiments/;
add_header Cache-Control "no-cache, max-age=0"; add_header Cache-Control "no-cache, max-age=0";
autoindex on; autoindex on;
} }
@ -86,7 +86,7 @@ http {
} }
location /media { location /media {
alias /home/uxbox/uxbox/backend/resources/public/media; alias /home/penpot/penpot/backend/resources/public/media;
} }
} }
} }