Danke für die schnelle Rückmeldung,
ich habe den nginx conf bearbeitet und nun starte ich die seite unter:
jedoch wenn ich am websocket verbinden will bekomme ich wieder:
Code: Alles auswählen
WebSocket connection to 'wss://localhost:8080/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
meine example.conf sieht folgendermaßen aus.
Code: Alles auswählen
server {
root /var/www/html/example.com/wp-content/plugins/xxx/public;
index index.php index.html index.htm;
server_name example.com www.example.com;
location / {
proxy_pass "WAS FÜR EINEN PROXY PASS GEBE ICH HIER AN";
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
listen 8080 ssl;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_session_cache shared:SSL:20m;
ssl_session_timeout 4h;
# ssl_handshake_timeout 30s;
}
was muss ich bei proxy_pass eingeben?