Hey,
ich habe ein paar Dokumentenanhänge hochgeladen, leider bekomme ich wenn ich auf den Öffnen Button drücke, einen 504 Gateway Time-out, könnt ihr mir helfen?
Das ganz ist über einen nginx veröffentlicht.
nginx konfig:
access_log /var/log/nginx/alarm-access.log;
error_log /var/log/nginx/alarm-error.log;server {
listen 80;
listen [::]:80;
server_name alarmiator.xxx.de;return 301 https://alarmiator.xxx.de$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name alarmiator.xxx.de;ssl_certificate /etc/letsencrypt/live/alarmiator.xxx.de/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/alarmiator.xxx.de/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;ssl_prefer_server_ciphers on;
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384;add_header Strict-Transport-Security „max-age=31536000; includeSubdomains; preload“;
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;proxy_pass http://192.168.x.xx:5000;
}
location /api/ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;proxy_pass http://192.168.x.xx:5010/;
}
location /socket.io/ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;proxy_pass http://192.168.x.xx:5020;
}
location /spaceport/socket.io/ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto http;proxy_pass http://192.168.x.xx:5555;
}
}
Dankeschön.
Gruß Zico