Skip to content

Commit

Permalink
[ci] nginx.conf 수정
Browse files Browse the repository at this point in the history
nginx.conf 수정
  • Loading branch information
YeaChan05 committed Jul 2, 2024
1 parent 6e69bfa commit d0c803d
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d0c803d

Please sign in to comment.