forked from github/plane
Update nginx.conf
This commit is contained in:
parent
641a2183b6
commit
7987750bc8
@ -9,13 +9,11 @@ server {
|
||||
root /www/data/;
|
||||
access_log /var/log/nginx/access.log;
|
||||
location / {
|
||||
proxy_pass http://planefrontend:3000/;
|
||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
||||
proxy_pass http://planefrontend:3000/;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://planebackend:8000/api/;
|
||||
add_header 'Access-Control-Allow-Origin' '*' always;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user