0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-19 11:11:21 -05:00

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