Blocked on Proxy #16

Closed
opened 2024-05-24 02:17:31 +00:00 by Korbs · 1 comment

image

When 4get is on my NGINX proxy(NGINX Proxy Manager), I get a blocked error. This works fine in the local IP.

The Docker Compose file is setup like this via Dockge:

services:
  fourget:
    image: quay.io/sudovanilla/4get-arm64:latest
    restart: always
    ports:
      - 5901:80
    environment:
      - FOURGET_VERSION=6
      - FOURGET_SERVER_NAME=4get.sudovanilla.org
      - FOURGET_PROTO=http
    volumes:
      - /sudovanilla/docker/volumes/4get/banners:/var/www/html/4get/banner
      - /sudovanilla/docker/volumes/4get/certs:/etc/4get/certs
      - /sudovanilla/docker/volumes/4get/captcha:/var/www/html/4get/data/captcha
networks:
  dockge_default:
    external: true

Docker Image is up to date as of May 23rd, 2024.

NGINX Proxy Manager generated:

# ------------------------------------------------------------
# 4get.sudovanilla.org
# ------------------------------------------------------------
  map $scheme $hsts_header {
    https   "max-age=63072000; preload";
  }

server {
    set $forward_scheme http;
    set $server         "192.168.1.175";
    set $port           6258;

  # Error Page
  error_page 404 /404.html;
  location /404.html {
        root /errors/;
  }

  error_page 502 /502.html;
  location /502.html {
        root /errors/;
  }

  listen 80;
  listen [::]:80;
  listen 443 ssl;
  listen [::]:443 ssl;
  server_name 4get.sudovanilla.org;
  
  # Let's Encrypt SSL
  include conf.d/include/letsencrypt-acme-challenge.conf;
  include conf.d/include/ssl-ciphers.conf;
  ssl_certificate /etc/letsencrypt/live/npm-44/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/npm-44/privkey.pem;
  
  # Asset Caching
  include conf.d/include/assets.conf;
  
  # Block Exploits
  include conf.d/include/block-exploits.conf;
  
  # Force SSL
  include conf.d/include/force-ssl.conf;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection $http_connection;
  proxy_http_version 1.1;


  access_log /data/logs/proxy-host-67_access.log proxy;
  error_log /data/logs/proxy-host-67_error.log warn;

  location / {    
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;
    

    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}
![image](/attachments/e720e30f-c61d-41e3-8981-d1edf88db581) When 4get is on my NGINX proxy(NGINX Proxy Manager), I get a blocked error. This works fine in the local IP. The Docker Compose file is setup like this via Dockge: ```yml services: fourget: image: quay.io/sudovanilla/4get-arm64:latest restart: always ports: - 5901:80 environment: - FOURGET_VERSION=6 - FOURGET_SERVER_NAME=4get.sudovanilla.org - FOURGET_PROTO=http volumes: - /sudovanilla/docker/volumes/4get/banners:/var/www/html/4get/banner - /sudovanilla/docker/volumes/4get/certs:/etc/4get/certs - /sudovanilla/docker/volumes/4get/captcha:/var/www/html/4get/data/captcha networks: dockge_default: external: true ``` > Docker Image is up to date as of May 23rd, 2024. NGINX Proxy Manager generated: ```yml # ------------------------------------------------------------ # 4get.sudovanilla.org # ------------------------------------------------------------ map $scheme $hsts_header { https "max-age=63072000; preload"; } server { set $forward_scheme http; set $server "192.168.1.175"; set $port 6258; # Error Page error_page 404 /404.html; location /404.html { root /errors/; } error_page 502 /502.html; location /502.html { root /errors/; } listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; server_name 4get.sudovanilla.org; # Let's Encrypt SSL include conf.d/include/letsencrypt-acme-challenge.conf; include conf.d/include/ssl-ciphers.conf; ssl_certificate /etc/letsencrypt/live/npm-44/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/npm-44/privkey.pem; # Asset Caching include conf.d/include/assets.conf; # Block Exploits include conf.d/include/block-exploits.conf; # Force SSL include conf.d/include/force-ssl.conf; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; access_log /data/logs/proxy-host-67_access.log proxy; error_log /data/logs/proxy-host-67_error.log warn; location / { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; # Proxy! include conf.d/include/proxy.conf; } # Custom include /data/nginx/custom/server_proxy[.]conf; } ```
632 KiB
Owner

#10

:)

https://git.lolcat.ca/lolcat/4get/issues/10 :)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lolcat/4get#16
No description provided.