my app config
templates:
# - "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
- "templates/web.socketed.template.yml"
#- "templates/web.china.template.yml"
## Lets Encrypt(https)를 추가하려면 아래 두 줄을 주석 해제하세요
#- "templates/web.ssl.template.yml"
#- "templates/web.letsencrypt.ssl.template.yml"
## 이 컨테이너가 노출할 TCP/IP 포트는 무엇인가요?
## Apache나 nginx와 같은 다른 웹서버와 포트를 공유하려면
## https://meta.discourse.org/t/17247을 참조하세요
expose:
#- "2045:80" # http
#- "2045:443" # https
nginx config
location / {
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
}
이 문제를 어떻게 해결할 수 있을까요?
