1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 11:28:41 +01:00

docker: remove leftypol branding from nginx compose

This commit is contained in:
Zankaria 2024-04-07 13:20:58 +02:00 committed by Zankaria
parent 729219a3c4
commit 5a5d315330
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ services:
- db
volumes:
- ./local-www:/var/www/html
- ./docker/nginx/leftypol.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx/vichan.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./docker/nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf
networks:

View File

@ -5,7 +5,7 @@ upstream php-upstream {
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name leftypol;
server_name vichan;
root /var/www/html;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
@ -64,7 +64,7 @@ server {
client_max_body_size 2G;
location ~ \.php$ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Request-Id $x_request_id;
proxy_set_header X-Forwarded-Host $host;