Add static services config
This commit is contained in:
parent
fa8d0f262a
commit
20a8392ee7
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -1,12 +1,9 @@
|
|||||||
{
|
{
|
||||||
"yaml.schemaStore.enable": false,
|
"yaml.schemaStore.enable": false,
|
||||||
"yaml.schemas": {
|
"yaml.schemas": {
|
||||||
"https://json.schemastore.org/ansible-playbook": [
|
|
||||||
"${workspaceFolder}/*.yaml",
|
|
||||||
],
|
|
||||||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
|
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
|
||||||
"/services/*/stack.yml"
|
"/services/*/stack.yml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"yaml.customTags": ["!vault"]
|
"yaml.customTags": ["!vault scalar"]
|
||||||
}
|
}
|
||||||
|
10
services/legacy/sites/alcoholic.conf
Normal file
10
services/legacy/sites/alcoholic.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
index index.html index.htm;
|
||||||
|
|
||||||
|
server_name alcoholic.{{ main_domain }};
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /var/www/alcoholic.kadet.net/;
|
||||||
|
}
|
||||||
|
}
|
@ -1,43 +1,8 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
index index.html index.htm;
|
||||||
#charset koi8-r;
|
|
||||||
#access_log /var/log/nginx/host.access.log main;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /var/www/kadet.net/;
|
||||||
index index.html index.htm;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
|
||||||
|
|
||||||
# redirect server error pages to the static page /50x.html
|
|
||||||
#
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
}
|
|
||||||
|
|
||||||
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
|
||||||
#
|
|
||||||
#location ~ \.php$ {
|
|
||||||
# proxy_pass http://127.0.0.1;
|
|
||||||
#}
|
|
||||||
|
|
||||||
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
|
||||||
#
|
|
||||||
#location ~ \.php$ {
|
|
||||||
# root html;
|
|
||||||
# fastcgi_pass 127.0.0.1:9000;
|
|
||||||
# fastcgi_index index.php;
|
|
||||||
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
|
||||||
# include fastcgi_params;
|
|
||||||
#}
|
|
||||||
|
|
||||||
# deny access to .htaccess files, if Apache's document root
|
|
||||||
# concurs with nginx's one
|
|
||||||
#
|
|
||||||
#location ~ /\.ht {
|
|
||||||
# deny all;
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
10
services/legacy/sites/paa.conf
Normal file
10
services/legacy/sites/paa.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
index index.html index.htm;
|
||||||
|
|
||||||
|
server_name paa.{{ main_domain }};
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /var/www/paa.kadet.net/;
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
root /var/www/pastebin/current/web/;
|
root /var/www/bin.kadet.net/current/web/;
|
||||||
server_name bin.{{ main_domain }};
|
server_name bin.{{ main_domain }};
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
6
services/traefik/config/dynamic/alcoholic-calendar.yaml
Normal file
6
services/traefik/config/dynamic/alcoholic-calendar.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
alcoholic-calendar:
|
||||||
|
rule: Host(`alcoholic.{{ main_domain }}`)
|
||||||
|
service: legacy@docker
|
6
services/traefik/config/dynamic/paa.yaml
Normal file
6
services/traefik/config/dynamic/paa.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
paa:
|
||||||
|
rule: Host(`paa.{{ main_domain }}`)
|
||||||
|
service: legacy@docker
|
Loading…
Reference in New Issue
Block a user