Kevin Burnett 2e9047248c
Codespaces (#2112)
* grab files from sartography/spiff-codespaces

* build images for codespaces w/ burnettk

* use codespaces image w/ burnettk

* use correct image for frontend w/ burnettk

* use alternate proxy_set_header approach

* new image

* fix image

* revert a couple files back to main version

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-10-14 07:02:07 -07:00

23 lines
765 B
Nginx Configuration File

error_log /dev/stdout info;
server {
listen 8003;
access_log /dev/stdout;
location / {
proxy_pass http://spiffworkflow-frontend:8001;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Prefix /;
}
location /api {
proxy_pass http://spiffworkflow-backend:8000;
# proxy_set_header X-Forwarded-Host $host:$server_port;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Forwarded-Prefix /api;
proxy_set_header Host $host:$server_port;
}
}