New project structure
Beta of extract.js for extracting english locale
This commit is contained in:
parent
e18d2b2f84
commit
2edbd67205
247 changed files with 6405 additions and 4237 deletions
20
server/setup/mailtrain-nginx.conf
Normal file
20
server/setup/mailtrain-nginx.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
# This example sets up mailtrain.org/www.mailtrain.org virtual domains
|
||||
# for Nginx and proxies requests for these domains to localhost port 3000
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name mailtrain.org www.mailtrain.org;
|
||||
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_pass http://127.0.0.1:3000;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue