How to customize sites
By default you are given 2 web sites. This page will show you how to display and edit those sites.
Default Sites
3.229.122.138 website1.com
3.229.122.138 website2.com/etc/nginx/sites-enabled# ls
website1.conf website2.conf
cat website2.conf###############################################################
# Example
###############################################################
server {
################### SERVER NAME AND PORT #####################
listen 80;
server_name website2.com;
################### LOGS #####################
access_log /var/log/nginx/website2-access.log;
error_log /var/log/nginx/website2-error.log warn;
rewrite_log off;
################### LOCATION #####################
root /var/www/website2;
################### CFML #####################
# Mod_cfml (Lucee) specific: add a unique ID for this server block.
# For more info, see http://www.modcfml.org/index.cfm/install/web-server-components/nginx-all-os/
set $lucee_context "website2.com";
set $application_port "8002";
include lucee.conf;
}Last updated
Was this helpful?