Skip to content

Nginx Header size issues help. #4959

Answered by ameeno
ameeno asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I finally fixed the portainer (and other container issue).

In a nutshell, when using the authelia advanced config snippets, you overwrite any nginx websocket enable settings, so they are disabled,

to fix this you must re add the socket settings by adding this config:

    # enable websocket
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection "upgrade";

My combined solution so far is therefore:

  1. modify authelia server configuration read/write buffers to be larger than the default 4096k using the configuration.yaml file changes:
server:
  buffers:
    read: 16384
    write: 16384
  1. Increase the buffer sizes in the snippet files for nginx to the larger buffers y…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by james-d-elliott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants