Changeset View
Changeset View
Standalone View
Standalone View
roles/webserver-content/org/nasqueron/api.sls
- This file was copied from roles/webserver-legacy/nginx/config.sls.
# ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
# Salt — Sites to provision on the legacy web server | # Salt — Provision api.nasqueron.org website | ||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
# Project: Nasqueron | # Project: Nasqueron | ||||
# License: Trivial work, not eligible to copyright | # License: Trivial work, not eligible to copyright | ||||
# ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
{% from "map.jinja" import dirs with context %} | {% if salt['node.has_web_content'](".org/nasqueron/api") %} | ||||
# ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
# includes folder | # Base part from rOPS | ||||
# | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
# :: general configuration | |||||
# :: application-specific code | |||||
# ------------------------------------------------------------- | |||||
{{ dirs.etc }}/nginx/includes: | /var/wwwroot/nasqueron.org/api: | ||||
file.recurse: | file.recurse: | ||||
- source: salt://roles/webserver-legacy/nginx/files/includes | - source: salt://wwwroot/nasqueron.org/api | ||||
- exclude_pat: E@.git | |||||
- include_empty: True | |||||
- clean: False | |||||
- dir_mode: 755 | - dir_mode: 755 | ||||
- file_mode: 644 | - file_mode: 644 | ||||
- user: deploy | |||||
- group: web | |||||
{% endif %} |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator