docs: Move nginx example file into src folder and refactor indentation
This commit is contained in:
parent
ff5ae1c59e
commit
122b55ad4b
@ -1,27 +0,0 @@
|
||||
worker_processes 1;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
client_max_body_size 2048m;
|
||||
|
||||
server {
|
||||
listen 27701;
|
||||
# server_name should be modified (LAN eg: 192.168.1.43 )
|
||||
server_name default;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.0;
|
||||
proxy_pass http://127.0.0.1:27702/;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
29
docs/src/nginx/nginx.example.conf
Normal file
29
docs/src/nginx/nginx.example.conf
Normal file
@ -0,0 +1,29 @@
|
||||
# file: nginx.example.conf
|
||||
# description: Example nginx.conf to set up a reverse proxy.
|
||||
|
||||
worker_processes 1;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
client_max_body_size 2048m;
|
||||
|
||||
server {
|
||||
listen 27701;
|
||||
# server_name should be modified (LAN eg: 192.168.1.43 )
|
||||
server_name default;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.0;
|
||||
proxy_pass http://127.0.0.1:27702/;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user