Skip to content

Commit

Permalink
infra: finally fix /api/ proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Jun 10, 2024
1 parent ddd8906 commit f01cf59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ server {
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;

location /api/ {
proxy_ssl_server_name on;
proxy_pass https://backend.app.sfscon.testingmachine.eu/api/;
proxy_set_header Host $host;
proxy_set_header Host backend.app.sfscon.testingmachine.eu;
}

location / {
Expand Down

0 comments on commit f01cf59

Please sign in to comment.