mirror of
https://github.com/chatmail/relay.git
synced 2026-05-18 11:28:57 +00:00
Update deploy-chatmail/src/deploy_chatmail/nginx/index.html.j2
Co-authored-by: missytake <missytake@systemli.org> use example config as recommended by fcgiwrap/README.debian
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<li>Scan or Tap on the invite QR code</li>
|
<li>Scan or Tap on the invite QR code</li>
|
||||||
<li>Choose Nickname and Avatar</li>
|
<li>Choose Nickname and Avatar</li>
|
||||||
<li>Use QR code invites and scans to setup end-to-end encrypted communication
|
<li>Use QR code invites and scans to setup end-to-end encrypted communication
|
||||||
with any e-mail address</li>
|
with any Delta Chat user</li>
|
||||||
</ol>
|
</ol>
|
||||||
<a href="DCACCOUNT:https://{{ config.mail_domain }}/cgi-bin/newemail.py">
|
<a href="DCACCOUNT:https://{{ config.mail_domain }}/cgi-bin/newemail.py">
|
||||||
<img class="section" src="qrcode.png" />
|
<img class="section" src="qrcode.png" />
|
||||||
|
|||||||
@@ -41,20 +41,8 @@ http {
|
|||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /cgi-bin/ {
|
# add cgi-bin support
|
||||||
# Set the root to /usr/lib (inside this location this means that we are
|
include /usr/share/doc/fcgiwrap/examples/nginx.conf;
|
||||||
# giving access to the files under /usr/lib/cgi-bin)
|
|
||||||
root /usr/lib;
|
|
||||||
|
|
||||||
# Fastcgi socket
|
|
||||||
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
|
||||||
|
|
||||||
# Fastcgi parameters, include the standard ones
|
|
||||||
include /etc/nginx/fastcgi_params;
|
|
||||||
|
|
||||||
# Adjust non standard parameters (SCRIPT_FILENAME)
|
|
||||||
# fastcgi_param SCRIPT_FILENAME /usr/lib$fastcgi_script_name;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
|
|||||||
Reference in New Issue
Block a user