Skip to content

Commit

Permalink
fix: removing nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobritodev committed Apr 19, 2022
1 parent c22b9df commit 6be39ac
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docker/nginx/conf.d/devstore.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ server {
listen 80;
server_name $hostname;

location /rabbitmq/ {
rewrite ^/rabbitmq/(.*)$ /$1 break;
proxy_pass http://rabbitmq;
proxy_buffering off;
proxy_set_header Host $http_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;
}

location / {
# Google doesn't like 302 redirects, so we use a 301 here
return 301 https://$host:7501$request_uri;
Expand All @@ -38,10 +28,6 @@ server {
ssl_certificate /etc/nginx/nerdstore-certificate.pem;
ssl_certificate_key /etc/nginx/nerdstore-certificate.key;

location /rabbitmq/ {
return 302 http://$host:7500$request_uri;
}

location / {
proxy_pass http://web-mvc;
proxy_redirect off;
Expand Down

0 comments on commit 6be39ac

Please sign in to comment.