Compare commits
1 Commits
2d35e73281
...
5e482a7f08
Author | SHA1 | Date |
---|---|---|
Adrian | 5e482a7f08 |
|
@ -0,0 +1,2 @@
|
||||||
|
access_log /data/log/nginx/$server_name-access.log;
|
||||||
|
error_log /data/log/nginx/$server_name-error.log;
|
|
@ -6,8 +6,7 @@ server {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
|
|
||||||
access_log /data/log/nginx/test-access.log;
|
include inc/server-log;
|
||||||
error_log /data/log/nginx/test-error.log;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php$is_args$args;
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
|
|
|
@ -3,8 +3,7 @@ server {
|
||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
access_log /data/log/nginx/git-access.log;
|
include inc/server-log;
|
||||||
error_log /data/log/nginx/git-error.log;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:3000;
|
proxy_pass http://localhost:3000;
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
server {
|
server {
|
||||||
server_name www.example.com;
|
server_name www.example.com;
|
||||||
|
|
||||||
access_log /data/log/nginx/www-access.log;
|
include inc/server-log;
|
||||||
error_log /data/log/nginx/www-error.log;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:4567/;
|
proxy_pass http://localhost:4567/;
|
||||||
|
|
|
@ -3,8 +3,7 @@ server {
|
||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
access_log /data/log/nginx/seafile-access.log;
|
include inc/server-log;
|
||||||
error_log /data/log/nginx/seafile-error.log;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8000;
|
proxy_pass http://localhost:8000;
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
server {
|
server {
|
||||||
server_name trac.example.com;
|
server_name trac.example.com;
|
||||||
|
|
||||||
access_log /data/log/nginx/trac-access.log;
|
include inc/server-log;
|
||||||
error_log /data/log/nginx/trac-error.log;
|
|
||||||
|
|
||||||
client_max_body_size 20M;
|
client_max_body_size 20M;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue