message-controller.conf
607 Bytes
## message controller
server {
# only allow local
include conf/local.access.conf
listen 80;
server_name message-controller.yohoops.org;
access_log /Data/logs/nginx/message_controller_access.log fenxi;
error_log /Data/logs/nginx/message_controller_error.log;
location / {
proxy_redirect off;
proxy_pass http://message;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding "gzip";
}
}