Skip to content
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

21 lines (16 sloc) 587 Bytes
# This example sets up virtual domains
# for Nginx and proxies requests for these domains to localhost port 3000
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/mailtrain.log;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header HOST $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_redirect off;
You can’t perform that action at this time.