Commit c49ec9f7 authored by Spiros Koulouzis's avatar Spiros Koulouzis

uncomment reverse proxy

parent 88ba5b81
version: '3' version: '3'
services: services:
#nginx: nginx:
#image: nginx image: nginx
#volumes: volumes:
#- ./nginx.conf:/etc/nginx/nginx.conf - ./nginx.conf:/etc/nginx/nginx.conf
#- ./cert.pem:/etc/nginx/cert.pem - ./cert.pem:/etc/nginx/cert.pem
#- ./privkey.pem:/etc/nginx/privkey.pem - ./privkey.pem:/etc/nginx/privkey.pem
##- ./www:/data/www #- ./www:/data/www
#ports: ports:
#- "80:80" - "80:80"
#- "443:443" - "443:443"
rabbit: rabbit:
image: rabbitmq:3.8-management image: rabbitmq:3.8-management
......
...@@ -69,8 +69,8 @@ http { ...@@ -69,8 +69,8 @@ http {
# proxy_set_header Origin ""; # proxy_set_header Origin "";
# } # }
location /manger/ { location /manger {
proxy_pass http://manager:8080/manger/; proxy_pass http://manager:8080/manger;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment