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