Content
You are here:
blank site at chrome (windows) but on smartphone (Chrome/Safari) is working
Added by Jes Müller about 3 years ago
Hey there,
I have the following problem:
If I open my openproject server trough my chrome browser it give me a blank site, if I try to open it via my smartphone everything works fine.
I didn't installed apache2.
That's my tasks.mydomain.net.conf:
upstream web {
server 127.0.0.1:6000;
}
server {
server_name tasks.mydomain.net;
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://web/;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/tasks.mydomain.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/tasks.mydomain.net/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = tasks.mydomain.net) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name tasks.mydomain.net;
listen 80;
return 404; # managed by Certbot