mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-27 17:55:04 +00:00
2e9047248c
* 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>
23 lines
765 B
Nginx Configuration File
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;
|
|
}
|
|
}
|