Add static services config

This commit is contained in:
Kacper Donat 2021-04-05 22:15:03 +02:00
parent fa8d0f262a
commit 20a8392ee7
8 changed files with 37 additions and 43 deletions

View File

@ -1,12 +1,9 @@
{
"yaml.schemaStore.enable": false,
"yaml.schemas": {
"https://json.schemastore.org/ansible-playbook": [
"${workspaceFolder}/*.yaml",
],
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
"/services/*/stack.yml"
]
},
"yaml.customTags": ["!vault"]
"yaml.customTags": ["!vault scalar"]
}

View 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/;
}
}

View File

@ -1,43 +1,8 @@
server {
listen 80;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
listen 80;
index index.html index.htm;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
root /var/www/kadet.net/;
}
#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;
#}
}

View 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/;
}
}

View File

@ -1,6 +1,6 @@
server {
listen 80;
root /var/www/pastebin/current/web/;
root /var/www/bin.kadet.net/current/web/;
server_name bin.{{ main_domain }};
index index.php;

View File

@ -0,0 +1,6 @@
---
http:
routers:
alcoholic-calendar:
rule: Host(`alcoholic.{{ main_domain }}`)
service: legacy@docker

View File

@ -0,0 +1,6 @@
---
http:
routers:
paa:
rule: Host(`paa.{{ main_domain }}`)
service: legacy@docker