Skip to content

Commit

Permalink
update ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
romashovdmitry committed Mar 3, 2024
1 parent 7b67995 commit 6faae51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Docker/Nginx/templates/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ server {
ssl_certificate /etc/nginx/certs/cert.pem;
ssl_certificate_key /etc/nginx/certs/key.pem;

location ~ ^/(api)/(.*)$ {
proxy_pass http://81.31.244.30:81;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
# location ~ ^/(api)/(.*)$ {
# proxy_pass http://81.31.244.30:81;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# proxy_redirect off;
# }

location / {
proxy_pass http://vue-app:5173;
Expand Down

0 comments on commit 6faae51

Please sign in to comment.