Last active
June 3, 2022 20:20
-
-
Save koenhendriks/795140351a4eaab9af75df2c04efedda to your computer and use it in GitHub Desktop.
Laravel Docroot IspConfig 3.1 Nginx
This file contains 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 characters
location / { | |
root {DOCROOT}public | |
if ($scheme != "https") { | |
rewrite ^ https://$http_host$request_uri? permanent; | |
} | |
try_files /public/$uri /public/$uri/ /public/index.php?$query_string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't used ISP Config in > 5 years but thanks for the feedback, I hope it's helpful for other that land here from Google.