Last active
November 8, 2019 11:13
-
-
Save jeremyvaught/8d0761182bc5dca641dc to your computer and use it in GitHub Desktop.
Laravel Forge wildcard domain with ssl
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
#/etc/nginx/sites-available/domain.io | |
server { | |
listen 80; | |
server_name domain.io *.domain.io; | |
return 301 https://$host$request_uri; | |
} | |
server { | |
listen 443 ssl; | |
server_name .domain.io; | |
root /home/forge/domain.io/public; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
woo hoo!