Skip to content

Commit

Permalink
docker add nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Sep 26, 2023
1 parent bb0f9e1 commit 083c0f9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions deploy/single/fs/opt/steedos/templates/nginx-app.conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fi
# error_page 404 /;
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
add_header Content-Security-Policy "frame-ancestors ${STEEDOS_ALLOWED_FRAME_ANCESTORS-'self' *}";
# add_header Content-Security-Policy "frame-ancestors ${STEEDOS_ALLOWED_FRAME_ANCESTORS-'self' *}";
$additional_downstream_headers
Expand Down Expand Up @@ -123,18 +123,6 @@ fi
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
}
location /tailwind/ {
proxy_http_version 1.1;
proxy_buffering off;
proxy_max_temp_file_size 0;
proxy_redirect off;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$origin_scheme;
proxy_set_header X-Forwarded-Host \$origin_host;
proxy_set_header Connection "";
proxy_pass http://localhost:3000/tailwind/;
}
location /sockjs/ {
proxy_pass http://localhost:3000/sockjs/;
proxy_http_version 1.1;
Expand Down

0 comments on commit 083c0f9

Please sign in to comment.