Skip to content

Connect via Nginx reverse proxy show status in Logdy "Not connected" #21

Answered by christianarrer
krot4u asked this question in Q&A
Discussion options

You must be logged in to vote

The full nginx locaton section of a virtual host with ssl enabled works for me like this:

location / {
          auth_basic "Stable Diffusion Log";
          auth_basic_user_file c:\\users\\sd\\.htpasswd;
          proxy_pass http://192.168.42.2:8081/;
          sub_filter_types text/xml text/css text/javascript;
          sub_filter 'new WebSocket("ws://"+window.location.host+"/' 'new WebSocket("wss://"+window.location.host+"/';
          sub_filter_once off;
          proxy_buffering off;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
          proxy_set_header Host $host;
          proxy_set_header X-…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@krot4u
Comment options

@PeterOsinski
Comment options

@christianarrer
Comment options

@christianarrer
Comment options

Answer selected by krot4u
@krot4u
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants