1- server {
2- listen 80 ;
3- listen [::]:80 default ipv6only=on;
1+ events {}
42
5- root /usr/share/nginx/html;
6- index index .html;
3+ http {
4+ server {
5+ listen 80 ;
6+ listen [::]:80 default ipv6only=on;
77
8- # timeouts
9- proxy_send_timeout 3600 ;
10- proxy_read_timeout 3600 ;
11- fastcgi_send_timeout 3600 ;
12- fastcgi_read_timeout 3600 ;
8+ root /usr/share/nginx/html;
9+ index index .html;
1310
14- # file size
15- client_max_body_size 150M ;
11+ # timeouts
12+ proxy_send_timeout 3600 ;
13+ proxy_read_timeout 3600 ;
14+ fastcgi_send_timeout 3600 ;
15+ fastcgi_read_timeout 3600 ;
1616
17- # all hostnames
18- server_name _ ;
17+ # file size
18+ client_max_body_size 150M ;
1919
20- # Reverse proxies for the backend
21- location /galahad/api/ {
22- proxy_pass http ://server :8010 /;
23- proxy_set_header X-Forwarded-Host localhost;
24- proxy_set_header X-Forwarded-Proto http ;
25- }
20+ # all hostnames
21+ server_name _;
22+
23+ # Reverse proxies for the backend
24+ location /galahad/api/ {
25+ proxy_pass http ://server :8010 /;
26+ proxy_set_header X-Forwarded-Host localhost;
27+ proxy_set_header X-Forwarded-Proto http ;
28+ }
2629
27- # Reverse proxy for the frontend
28- location / {
29- proxy_pass http ://client:8080 /;
30+ # Reverse proxy for the frontend
31+ location / {
32+ proxy_pass http ://client:8080 /;
33+ }
3034 }
3135}
0 commit comments