mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 01:28:36 +02:00
💚 Fix docker-compose run
This commit is contained in:
parent
f035228072
commit
4b9195e8e5
2 changed files with 8 additions and 4 deletions
|
@ -25,7 +25,8 @@ server {
|
|||
|
||||
# Reverse Proxy to Backend (Avoids XSS concerns) --Update api to be whatever your site uses to access your backend
|
||||
location /api/ {
|
||||
proxy_pass http://backend;
|
||||
#proxy_pass http://backend;
|
||||
proxy_pass http://uxbackend:6060;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
@ -35,7 +36,7 @@ server {
|
|||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
# IMPORTANT: Update my.uxbox.com to your production site. This will allow cookies to work as expected when using your deployment locally
|
||||
proxy_cookie_domain localhost my.uxbox.com;
|
||||
#proxy_cookie_domain localhost my.uxbox.com;
|
||||
}
|
||||
|
||||
# Application
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue