gitignore

master
Thomas Rudin 2019-10-21 11:22:01 +02:00
parent 7276c834a0
commit 7fcb520c54
8 changed files with 80 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
data
docker-compose.override.yml

3
data/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
minetest
postgres
wiki

1
data/nginx/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
html

40
data/nginx/nginx.conf Normal file
View File

@ -0,0 +1,40 @@
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/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 /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
client_max_body_size 2G;
keepalive_timeout 65;
gzip on;
#include /etc/nginx/conf.d/*.conf;
server {
listen 80;
server_name localhost;
include /routes/*.conf;
}
}

View File

@ -0,0 +1,9 @@
location /highscore/ {
proxy_pass http://highscore:8080/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -0,0 +1,8 @@
location /map/ {
proxy_pass http://mapserver:8080/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -0,0 +1,9 @@
location /webmail/ {
proxy_pass http://webmail:8080/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -0,0 +1,9 @@
location / {
proxy_pass http://wiki/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}