27 lines
545 B
Nginx Configuration File
27 lines
545 B
Nginx Configuration File
user cloudron;
|
|
worker_processes auto;
|
|
|
|
error_log /var/log/nginx/error.log warn;
|
|
pid /run/nginx.pid;
|
|
|
|
events { worker_connections 1024; }
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
access_log /var/log/nginx/access.log main;
|
|
sendfile on;
|
|
|
|
server {
|
|
listen __HTTP_PORT__;
|
|
server_name _;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_pass http://127.0.0.1:__HTTP_PORT__;
|
|
}
|
|
}
|
|
}
|
|
|