Update to current Perl
This commit is contained in:
parent
ebd46d86d4
commit
3cc88f8150
57 changed files with 11638 additions and 665 deletions
19
share/nginx-default-server
Normal file
19
share/nginx-default-server
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 8080 default_server;
|
||||
access_log /dev/stdout main;
|
||||
index index.htm index.html;
|
||||
root /data/WebGUI/www;
|
||||
|
||||
location / {
|
||||
proxy_pass http://webgui-upstream;
|
||||
}
|
||||
|
||||
location /extras/ {
|
||||
add_header Cache-Control public;
|
||||
expires 24h;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /uploads/filepump { expires max; }
|
||||
|
||||
}
|
||||
25
share/nginx-main
Normal file
25
share/nginx-main
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
worker_processes 1;
|
||||
|
||||
error_log /dev/stdout warn;
|
||||
pid /tmp/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /dev/stdout main;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
include /etc/nginx/streams.d/*.conf;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
||||
3
share/upstream-webgui.conf
Normal file
3
share/upstream-webgui.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
upstream webgui-upstream {
|
||||
server 127.0.0.1:80;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue