Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12241454
init.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
init.sls
View Options
# -------------------------------------------------------------
# Salt — nginx configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-11-08
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
with context
%}
# -------------------------------------------------------------
# Nginx configuration files
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nginx_config_files
:
file.recurse
:
-
name
:
{{
dirs.etc
}}
/nginx
-
source
:
salt://roles/shellserver/web-hosting/files/
{{
grains
[
'id'
]
}}
/nginx
-
include_empty
:
True
-
clean
:
False
-
dir_mode
:
755
-
file_mode
:
644
cmd.run
:
-
name
:
nginx -s reload
-
onchanges
:
-
file
:
nginx_config_files
# -------------------------------------------------------------
# Nginx logs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/log/www
:
file.directory
:
-
user
:
root
-
group
:
www-data
-
dir_mode
:
750
# -------------------------------------------------------------
# Site to serve when Host: header doesn't match a known vhost
#
# Typically, this occurs when a domain is configured in DNS,
# but not in nginx.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
unknown_domain_files
:
file.recurse
:
-
name
:
/var/wwwroot/unknown_domains
-
source
:
salt://roles/shellserver/web-hosting/files/
{{
grains
[
'id'
]
}}
/wwwroot-unknown
-
dir_mode
:
755
-
file_mode
:
644
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 05:14 (23 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065110
Default Alt Text
init.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment