diff --git a/doc/nginx/sites-available-haproxy/corbo.conf b/doc/nginx/sites-available-haproxy/corbo.conf deleted file mode 100644 index 7905b83..0000000 --- a/doc/nginx/sites-available-haproxy/corbo.conf +++ /dev/null @@ -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; -} diff --git a/doc/nginx/sites-available/corbo.conf b/doc/nginx/sites-available/corbo.conf deleted file mode 100644 index 5fe02a4..0000000 --- a/doc/nginx/sites-available/corbo.conf +++ /dev/null @@ -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; -} diff --git a/nginx/snippets/build-publik-snippets.py b/nginx/snippets/build-publik-snippets.py index 57de2c1..fc0ff40 100755 --- a/nginx/snippets/build-publik-snippets.py +++ b/nginx/snippets/build-publik-snippets.py @@ -10,7 +10,6 @@ MODULES = ( 'bijoe', 'chrono', 'combo', - 'corbo', 'fargo', 'hobo', 'mandayejs', diff --git a/nginx/snippets/publik-corbo.conf b/nginx/snippets/publik-corbo.conf deleted file mode 100644 index abd6704..0000000 --- a/nginx/snippets/publik-corbo.conf +++ /dev/null @@ -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'; -} \ No newline at end of file diff --git a/publik-cluster-link b/publik-cluster-link index e7bab48..1c309a8 100755 --- a/publik-cluster-link +++ b/publik-cluster-link @@ -11,7 +11,6 @@ briques = [ 'bijoe', 'chrono', 'combo', - 'corbo', 'fargo', 'hobo', 'mandayejs', diff --git a/publik-create-users b/publik-create-users index b69bf0e..1e4de0d 100755 --- a/publik-create-users +++ b/publik-create-users @@ -13,7 +13,6 @@ userlist = { 'fargo': {'uid': '2106'}, 'welco': {'uid': '2107'}, 'chrono': {'uid': '2108'}, - 'corbo': {'uid': '2109'}, 'bijoe': {'uid': '2110'}, 'mandayejs': {'uid': '2111'}, }