Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
guides:ubnetdef_new_domain [2017/03/21 04:31] jamesdro |
guides:ubnetdef_new_domain [2017/03/21 04:33] jamesdro |
||
---|---|---|---|
Line 13: | Line 13: | ||
Why thank you for asking! Here is the latest version of the create scripts | Why thank you for asking! Here is the latest version of the create scripts | ||
- | ```sh | + | <file bash create.sh> |
- | #filename: create.sh | + | |
#!/bin/bash | #!/bin/bash | ||
Line 48: | Line 47: | ||
# We're done | # We're done | ||
systemctl reload nginx | systemctl reload nginx | ||
- | ``` | + | </file> |
- | ```conf | + | <file conf nginx.tpl> |
- | #filename: nginx.tpl | + | |
server { | server { | ||
listen 80; | listen 80; | ||
Line 61: | Line 59: | ||
root /web/#HOSTNAME#/public; #temp | root /web/#HOSTNAME#/public; #temp | ||
} | } | ||
- | ``` | + | </file> |
- | ```conf | + | <file conf nginx_ssl.tpl> |
- | #filename: nginx_ssl.tpl | + | |
server { | server { | ||
listen 443 ssl http2; | listen 443 ssl http2; | ||
Line 90: | Line 87: | ||
} | } | ||
} | } | ||
- | ``` | + | </file> |