diff --git a/nginx.conf b/nginx.conf index b8f9c3cb..0139107b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -74,29 +74,29 @@ http { ssl_dhparam /etc/ssl/certs/ssl-dhparams.pem; } - server { - listen 9090; - - location / { - proxy_pass http://prometheus:9090; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - } - - server { - listen 3009; - - location / { - proxy_pass http://grafana:3000; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - } +# server { +# listen 9090; +# +# location / { +# proxy_pass http://prometheus:9090; +# proxy_set_header Host $host; +# proxy_set_header X-Real-IP $remote_addr; +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header X-Forwarded-Proto $scheme; +# } +# } +# +# server { +# listen 3009; +# +# location / { +# proxy_pass http://grafana:3000; +# proxy_set_header Host $host; +# proxy_set_header X-Real-IP $remote_addr; +# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header X-Forwarded-Proto $scheme; +# } +# } server { if ($host = www.fundina.shop) {