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 80; | |
# Your server's IP | |
server_name 11.222.33.44; | |
# Uncomment to enable: | |
# access_log /var/log/nginx/log/host.access.log main; | |
location / { |
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
description "Site Name" | |
author "Your Name" | |
# Start service after everything loaded | |
start on (local-filesystems and net-device-up IFACE=eth0) | |
stop on shutdown | |
# Automatically restart service | |
respawn | |
respawn limit 3 15 |
NewerOlder