Last active
January 6, 2019 14:45
-
-
Save p3x-robot/e85eb0b9426f0302910b6877ef8f918e to your computer and use it in GitHub Desktop.
Revisions
-
p3x-robot revised this gist
Jan 6, 2019 . No changes.There are no files selected for viewing
-
p3x-robot revised this gist
Jan 6, 2019 . 2 changed files with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # in the proxy part, add in this: proxy_set_header X-Forwarded-Proto https; -
p3x-robot created this gist
Jan 6, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ // before any code add this in $_SERVER['HTTPS']='on'; // then comes the class JConfig // then your NGINX reverse proxy will work