Blank screen on GUI behind reverse proxy.

horizn

Well-Known Member
Aug 21, 2017
34
2
46
44
Hi
I had Nginx running reverse proxy on PVE machine and pointing to 192.168.101.1:8006. That worked fine with LetsEncrypt etc. I decided to remove/shut down Nginx running on PVE and have VM running Nginx and pointing to the same PVE local IP. However instead of Proxmox GUI I am getting blank screen. In /var/log/pveproxy/access.log I found:

192.168.101.9 is a VM running Nginx doing reverse proxy to PVE (192.168.101.1)

Code:
192.168.101.9 - - [08/03/2020:00:09:11 +0100] "GET / HTTP/1.1" 200 791
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/theme-crisp/resources/theme-crisp-all.css HTTP/1.1" 200 68
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/fa/css/font-awesome.css HTTP/1.1" 200 7289
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/css/ext6-pve.css?ver=5.4-13 HTTP/1.1" 200 2881
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/js/u2f-api.js HTTP/1.1" 200 4901
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/js/qrcode.min.js HTTP/1.1" 200 6998
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/crisp/resources/charts-all.css HTTP/1.1" 200 995
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /proxmoxlib.js?ver=1.0-28 HTTP/1.1" 200 43419
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/charts.js HTTP/1.1" 200 100383
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/locale/locale-en.js HTTP/1.1" 200 2569
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/theme-crisp/resources/theme-crisp-all_2.css HTTP/1.1" 200 5208
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/theme-crisp/resources/theme-crisp-all_1.css HTTP/1.1" 200 33744
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/js/pvemanagerlib.js?ver=5.4-13 HTTP/1.1" 200 177349
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /pve2/ext6/ext-all.js HTTP/1.1" 200 609692
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/panel/Panel.js?_dc=1583622552556 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/window/Window.js?_dc=1583622552556 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/util/TextMetrics.js?_dc=1583622552570 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/tip/ToolTip.js?_dc=1583622552575 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/view/View.js?_dc=1583622552578 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/plugin/Abstract.js?_dc=1583622552584 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:12 +0100] "GET /Ext/data/RestProxy.js?_dc=1583622552614 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/form/field/Number.js?_dc=1583622552615 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/form/field/Text.js?_dc=1583622552616 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/form/FieldContainer.js?_dc=1583622552616 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/form/field/Checkbox.js?_dc=1583622552616 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/form/field/ComboBox.js?_dc=1583622552616 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/button/Button.js?_dc=1583622552617 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/grid/GridPanel.js?_dc=1583622552618 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/state/LocalStorageProvider.js?_dc=1583622552648 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/menu/Item.js?_dc=1583622552649 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/menu/Menu.js?_dc=1583622552649 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/button/Split.js?_dc=1583622552649 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /Ext/app/ViewController.js?_dc=1583622552649 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:13 +0100] "GET /pve2/images/logo-128.png HTTP/1.1" 200 4977
192.168.101.9 - - [08/03/2020:00:09:21 +0100] "GET / HTTP/1.1" 200 791
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/window/Window.js?_dc=1583622562071 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/panel/Panel.js?_dc=1583622562071 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/util/TextMetrics.js?_dc=1583622562089 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/tip/ToolTip.js?_dc=1583622562094 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/view/View.js?_dc=1583622562098 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/plugin/Abstract.js?_dc=1583622562106 HTTP/1.1" 501 -
192.168.101.9 - - [08/03/2020:00:09:22 +0100] "GET /Ext/data/RestProxy.js?_dc=1583622562138 HTTP/1.1" 501 -
...
Any idea how to fix that?
 
Problem solved, Proxmox doesn't like:

Bash:
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-referrer-when-downgrade" always;
add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'" always;

in Nginx vhost configuration.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!