Fix nginx.conf for reverse-proxy with HTTPS

This commit is contained in:
hwiorn
2021-05-23 01:38:46 +09:00
committed by Jérémy Benoist
parent 43a26d7406
commit 054677bb02
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,10 @@ http {
open_file_cache max=100;
client_max_body_size 100M;
map $http_x_forwarded_proto $fe_https {
default off;
https on;
}
upstream php-upstream {
server 127.0.0.1:9000;