mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
committed by
GitHub
parent
0923f5e3a7
commit
d7a46e1702
@@ -23,13 +23,6 @@ proxy_buffers 4 32k;
|
|||||||
# Discourse itself tries to minimise cookie size, but we cannot control other cookies set by other tools on the same domain.
|
# Discourse itself tries to minimise cookie size, but we cannot control other cookies set by other tools on the same domain.
|
||||||
large_client_header_buffers 4 32k;
|
large_client_header_buffers 4 32k;
|
||||||
|
|
||||||
# If you are going to use Puma, use these:
|
|
||||||
#
|
|
||||||
# upstream discourse {
|
|
||||||
# server unix:/var/www/discourse/tmp/sockets/puma.sock;
|
|
||||||
# }
|
|
||||||
|
|
||||||
|
|
||||||
# attempt to preserve the proto, must be in http context
|
# attempt to preserve the proto, must be in http context
|
||||||
map $http_x_forwarded_proto $thescheme {
|
map $http_x_forwarded_proto $thescheme {
|
||||||
default $scheme;
|
default $scheme;
|
||||||
|
|||||||
Reference in New Issue
Block a user