misc: remove Corbo configurations and setup (#50395)

This commit is contained in:
Serghei Mihai 2021-02-15 09:35:33 +01:00
parent 623186bf4d
commit 1bc56b7080
6 changed files with 0 additions and 64 deletions

View File

@ -1,10 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name ~^corbo.*;
access_log /var/log/nginx/corbo-access.log combined_full;
error_log /var/log/nginx/corbo-error.log;
include snippets/publik-corbo.conf;
}

View File

@ -1,14 +0,0 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ~^annonce ~^corbo;
access_log /var/log/nginx/corbo-access.log combined_full;
error_log /var/log/nginx/corbo-error.log;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
include snippets/publik-openssl.conf;
include snippets/publik-corbo.conf;
}

View File

@ -10,7 +10,6 @@ MODULES = (
'bijoe',
'chrono',
'combo',
'corbo',
'fargo',
'hobo',
'mandayejs',

View File

@ -1,37 +0,0 @@
#
# This file is provided by publik-common package: DO NOT EDIT.
#
location ~ ^/static/(.+)$ {
root /;
try_files /var/lib/corbo/tenants/$host/static/$1
/var/lib/corbo/tenants/$host/theme/static/$1
/var/lib/corbo/collectstatic/$1
=404;
add_header 'X-Content-Type-Options' 'nosniff';
add_header 'X-XSS-Protection' '1; mode=block';
add_header 'Content-Security-Policy' "default-src 'none'; style-src 'self' 'unsafe-inline'; object-src 'self' 'unsafe-inline'; img-src 'self' data:;";
add_header 'Access-Control-Allow-Origin' '*';
include snippets/publik-gzip.conf;
}
location ~ ^/media/(.+)$ {
alias /var/lib/corbo/tenants/$host/media/$1;
add_header 'X-Content-Type-Options' 'nosniff';
add_header 'X-XSS-Protection' '1; mode=block';
add_header 'Content-Security-Policy' "default-src 'none'; style-src 'self' 'unsafe-inline'; object-src 'self' 'unsafe-inline'; img-src 'self' data:;";
include snippets/publik-gzip.conf;
}
location / {
proxy_pass http://unix:/var/run/corbo/corbo.sock;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-SSL on;
proxy_set_header X-Forwarded-Protocol ssl;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header 'X-Content-Type-Options' 'nosniff';
add_header 'X-XSS-Protection' '1; mode=block';
add_header 'Cache-Control' 'private';
}

View File

@ -11,7 +11,6 @@ briques = [
'bijoe',
'chrono',
'combo',
'corbo',
'fargo',
'hobo',
'mandayejs',

View File

@ -13,7 +13,6 @@ userlist = {
'fargo': {'uid': '2106'},
'welco': {'uid': '2107'},
'chrono': {'uid': '2108'},
'corbo': {'uid': '2109'},
'bijoe': {'uid': '2110'},
'mandayejs': {'uid': '2111'},
}