Go to file
muppeth 1dd23b29d0 cryptpad - commented out by default datastore location (#10)
Merge branch 'cryptpad' of git.disroot.org:Disroot-Ansible/nginx into cryptpad

fixed

Merge branch 'master' into cryptpad

Merge branch 'master' into cryptpad

cryptpad - commented out by default datastore location

Co-authored-by: muppeth <muppeth@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Reviewed-on: #10
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-Authored-By: muppeth <muppeth@no-reply@disroot.org>
Co-Committed-By: muppeth <muppeth@no-reply@disroot.org>
2021-04-27 19:17:17 +00:00
defaults Migration commit; fresh start 2021-03-14 11:20:09 +01:00
handlers Migration commit; fresh start 2021-03-14 11:20:09 +01:00
tasks Selfsigned cert task - initial work (#5) 2021-04-11 13:43:35 +00:00
templates/etc/nginx cryptpad - commented out by default datastore location (#10) 2021-04-27 19:17:17 +00:00
LICENSE Migration commit; fresh start 2021-03-14 11:20:09 +01:00
README.MD Migration commit; fresh start 2021-03-14 11:20:09 +01:00

README.MD

Nginx role

This role, installs nginx webserver and manages all vhosts. The role is released under MIT Licence and we give no warranty for this piece of software. Currently supported OS - Debian.

Apart from installing and configuring nginx, you can also make use of bundeled vhost templates for many FLOSS services which helps out setup your server. Check templates/etc/nginx/sites-available for more details. Multiple Vhosts can be deployed and make use of templates. By default role does not deploy any Vhost. Example vhosts:

nginx_vhosts:
  - name: 'devchat'
    template: 'conversejs'
    proto: 'http'
    listen: '80'
    root: 'conversejs'
    index: 'index.php'
    use_access_log: 'true'
    use_error_log: 'true'
    nginx_error_log_level: 'warn'
    http_upload_url: 'https://example.org'
    bosh_url: 'https://example.org'
    headers: 'none'
    state: 'enable'
    letsencrypt: 'false'
  - name: 'framadate'
    template: 'framadate'
    proto: 'http'
    listen: '80'
    root: 'framadate/{{ framadate_version }}/framadate'
    index: 'index.php'
    use_access_log: 'true'
    use_error_log: 'true'
    nginx_error_log_level: 'warn'
    upstream_params:
      - 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;'
      - 'fastcgi_index index.php;'
      - 'include /etc/nginx/fastcgi_params;'
      - 'fastcgi_pass unix:{{ pool_listen }};'
    state: 'enable'
    letsencrypt: 'false'

Changelog

  • 04.03.2021 - Modyfied header info for proxy (locations), and core templates
  • 26.01.2021 - Rewritten templates structure
  • 02.12.2020 - conversejs template
  • 14.12.2019 - Start changelog
  • 14.12.2019 - Updated hubzilla,privatebin, framadate template