@muppeth I don't manage to add frontend to for example https://etesync.example.org/web
I tried to add something like:
```
location /web {
alias /var/www/etesync-web/;
index index.html;
}
```
But the static files give error 404.
Also, at the moment, access to https://etesync.example.org gives that generic page:
```
It works!
Please refer to the README to complete the final steps if you haven't done so already.
```
I don't know how to properly remove that by etesync-web
Reviewed-on: #64
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
Ton of changes. Mainly:
- Improved vhost creation - vhosts are not created for https when no certificate present
- Updated nextcloud template
- Updated akkoma template
- Improved header section for core and proxy templates
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #68
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-committed-by: muppeth <muppeth@disroot.org>
Main changes:
- Rewritten way of creating HTTPS hosts. Prevents creating HTTPS vhost without existing certificate.
- Break out conditions into a list.
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #65
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Unless I messed up with something, I can not deploy correctly if I keep `{{ item.proto }`. Indeed, it has to be set as http by default, but if I set `proto` in defaults as `http`, set certificates aren't deployed...
And as I just wrote, it has to be `proxy_pass http://<proxybox>:64737;` anyway.
I'm done with the role btw.
Reviewed-on: #51
I've just noticed that we have a movim branch, but that we never done a PR!
Co-authored-by: muppeth <muppeth@disroot.org>
Reviewed-on: #55
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
When using reverse rpoxy in front of searx and using limiter (or filtron) we need to be able to pass on client real ip.
Co-authored-by: muppeth <muppeth@disroot.org>
Reviewed-on: #54
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Working, just not for pict-rs, so if you can have a look @muppeth
Co-authored-by: meaz <meaz@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Reviewed-on: #34
Ansible's builtin base64 decode is automatically moving to new line which was breaking the configuration as it needs `;` at the end. Adding trim solves it.
Additionally removed .onion since the generated onion address already has it.
Co-authored-by: muppeth <muppeth@disroot.org>
Reviewed-on: #41
Reviewed-by: meaz <meaz@no-reply@disroot.org>
@muppeth could you check https://github.com/xwiki-labs/cryptpad/commits/main/docs/example.nginx.conf, the two commits from Dec 7, 2022 , and adjust as needed? I'm not too sure where to implement those changes, not in cryptpad template apparently...
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #37
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
added task of deploying maintenance pages for vhost for easy swap when service under maintenance
Co-authored-by: muppeth <muppeth@disroot.org>
Reviewed-on: #35
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Part of a group of PR's rewriting and cleaning up Nginx headers.
Co-authored-by: antilopa <antilopa@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #17
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: antilopa <antilopa@no-reply@disroot.org>
Co-committed-by: antilopa <antilopa@no-reply@disroot.org>
By default it will set `https: vector:` unless `item.ancestors` is defined in vhost array
Co-authored-by: muppeth <muppeth@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Reviewed-on: #31
Reviewed-by: meaz <meaz@no-reply@disroot.org>
(sorry I messed up a it with the branch name, as I was working on gitea update at the same time)
Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #16
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>