aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-07-18 20:31:56 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-07-18 20:33:29 +0100
commit3cbe6fe46483ca5c4483bc2d39c4c568fda9a187 (patch)
treef54dc4f9df6066e89b315ce3b3a09e691092623a
parentc83b9a6fa04d3f71bc1100ba33f6bf3745932f0b (diff)
downloadgpigeon-3cbe6fe46483ca5c4483bc2d39c4c568fda9a187.tar.gz
gpigeon-3cbe6fe46483ca5c4483bc2d39c4c568fda9a187.zip
Fix missing link to hawkpost.co in login page
also nginx example updated
-rwxr-xr-xgpigeon-template.cgi2
-rw-r--r--nginx-example.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index 95e139b..2acd59e 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -492,7 +492,7 @@ qq{<!DOCTYPE html>
</form>
<p><a href="http://git.les-miquelots.net/gpigeon"
- title="gpigeon download link">Source code here.</a> It is similar to <a h>
+ title="gpigeon download link">Source code here.</a> It is similar to <a target="_blank" rel="nofollow noopener noreferrer" href="https://hawkpost.co">hawkpost.co</a>.
</body>
</html>};
diff --git a/nginx-example.conf b/nginx-example.conf
index f3d9252..5fc095a 100644
--- a/nginx-example.conf
+++ b/nginx-example.conf
@@ -17,6 +17,10 @@ server {
error_log /var/log/gpigeon.log;
index index.html index.htm;
+ location = / {
+ return 301 https://$server_name/cgi-bin/gpigeon.cgi;
+ }
+
location = /cgi-bin/gpigeon.cgi {
ssi off;
gzip off;