Created
July 16, 2024 07:47
-
-
Save yasriady/d6dd1a5f60f9c047bf8b27247e9cf40b to your computer and use it in GitHub Desktop.
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 characters
server { | |
listen 443; | |
ssl on; | |
ssl_certificate /etc/ssl/ssl-bundle.crt; | |
ssl_certificate_key /etc/ssl/private.key; | |
root /path/ke/webroot; | |
server_name nama_domainmu.com; | |
} | |
access_log /var/log/nginx/nginx.vhost.access.log; | |
error_log /var/log/nginx/nginx.vhost.error.log; | |
location / { | |
root /var/www/; | |
root /home/www/public_html/namadomainmu.com/public/; | |
index index.html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment