0

I am currently having problems with NGINX Reverse Proxy. I have the Nginx Proxy Manager running as a container. I am doing normal port forwarding here but unfortunately the site is not working properly. Some HTTP requests suddenly come with errors like 404. When I use the site through the port it runs normally without problems. For example buttons don't work anymore.

Config:

# XXX.XXX.de
# ------------------------------------------------------------


server {
  set $forward_scheme https;
  set $server         "192.168.178.200";
  set $port           XXXX;

  listen 80;
#listen [::]:80;

listen 443 ssl http2;
#listen [::]:443;


  server_name plunet.translaw.de;


  # Custom SSL
  ssl_certificate /data/custom_ssl/npm-1/fullchain.pem;
  ssl_certificate_key /data/custom_ssl/npm-1/privkey.pem;












    # 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-1_access.log proxy;
  error_log /data/logs/proxy-host-1_error.log warn;

location = / {
   return 301 https://plunet.translaw.de/pagesUTF8/login.jsp;
}





  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;
}```
Luca B.
  • 1
  • 2
  • Can you please post the actual code instead of a screenshot. Also, please include the entire `server { .. }` block – Darren Mar 08 '23 at 07:27

0 Answers0