[add] initial commit
This commit is contained in:
31
kweb/files/nginx.conf
Normal file
31
kweb/files/nginx.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
worker_processes 1;
|
||||
|
||||
events { worker_connections 1024; }
|
||||
|
||||
# required for non root
|
||||
pid /tmp/nginx.pid;
|
||||
|
||||
http {
|
||||
|
||||
# required for non root
|
||||
client_body_temp_path /tmp/client_temp;
|
||||
proxy_temp_path /tmp/proxy_temp_path;
|
||||
fastcgi_temp_path /tmp/fastcgi_temp;
|
||||
uwsgi_temp_path /tmp/uwsgi_temp;
|
||||
scgi_temp_path /tmp/scgi_temp;
|
||||
|
||||
client_max_body_size 1m;
|
||||
|
||||
server {
|
||||
listen 8080 default_server;
|
||||
|
||||
# prevent redirecting to 8080 port
|
||||
# (e.g. when trailing slash is missed)
|
||||
port_in_redirect off;
|
||||
|
||||
location / {
|
||||
root /service/html;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user