2020-05-18 04:35:36 +02:00
|
|
|
server {
|
|
|
|
|
|
|
|
listen _PORT_;
|
|
|
|
listen [::]:_PORT_;
|
|
|
|
|
|
|
|
root /var/www/loveland/_APPLI_;
|
|
|
|
|
2020-05-18 05:49:04 +02:00
|
|
|
server_name _NODERNAME_;
|
2020-05-18 04:35:36 +02:00
|
|
|
|
|
|
|
location / {
|
2020-05-18 05:49:04 +02:00
|
|
|
proxy_pass http://_NODERNAME_:_LPORT_;
|
2020-05-18 04:35:36 +02:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|