- Posts: 9
Question webtrees + Synology + proxy (https)
- wtHatchery3355
- Topic Author
- Offline
- New Member
Less
More
1 week 5 days ago #1
by wtHatchery3355
webtrees + Synology + proxy (https) was created by wtHatchery3355
Context:
Synology DSM 7.2
PHP 8.2
webtrees 2.1.20
Local mode (LAN)
192.168.68.xxx/webtrees
ok, no problem 👍
I have a domain name and SSL certificat (from Let's Encrypt)
I use Synology Web Station (apache + nginx) and MySQL (maraDB 10). Synology proxy server)
How to create a reverse proxy for webtrees?
similar to
https://webtrees.(my domain name) ?
Thanks
Synology DSM 7.2
PHP 8.2
webtrees 2.1.20
Local mode (LAN)
192.168.68.xxx/webtrees
ok, no problem 👍
I have a domain name and SSL certificat (from Let's Encrypt)
I use Synology Web Station (apache + nginx) and MySQL (maraDB 10). Synology proxy server)
How to create a reverse proxy for webtrees?
similar to
https://webtrees.(my domain name) ?
Thanks
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
1 week 5 days ago #2
by Franz Frese
Replied by Franz Frese on topic webtrees + Synology + proxy (https)
Please Log in or Create an account to join the conversation.
- wtHatchery3355
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
1 week 3 days ago #3
by wtHatchery3355
Replied by wtHatchery3355 on topic webtrees + Synology + proxy (https)
Actually I didn't understand how to access webtrees via HTTPS (SSL)
I am able to do reverse proxy (I did it with Photo Station, Note,
File Station and others because I have a port associated with it)
But with webtrees, I don't see how to do it.
At my domain provider (DNS), I set my CNAME record to webtrees at my domain name xxxx.ca
(just like the rest)
But when I manage to do my reverse proxy on the Synology, I don't see on which port I can do that.
I'm still interested in using HTTPS externally to secure the connection.
But I don't understand how to do it. Yet many seem to have done so.
I am able to do reverse proxy (I did it with Photo Station, Note,
File Station and others because I have a port associated with it)
But with webtrees, I don't see how to do it.
At my domain provider (DNS), I set my CNAME record to webtrees at my domain name xxxx.ca
(just like the rest)
But when I manage to do my reverse proxy on the Synology, I don't see on which port I can do that.
I'm still interested in using HTTPS externally to secure the connection.
But I don't understand how to do it. Yet many seem to have done so.
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
1 week 3 days ago #4
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic webtrees + Synology + proxy (https)
From the menu "Documentation" here:
webtrees.net/install/synology/
Does that help? Do you get so far as to get webtrees working on http without https / ssl? Take it one step at a time. Only if that works, then add ssl. We can look into adding that later.
webtrees.net/install/synology/
Does that help? Do you get so far as to get webtrees working on http without https / ssl? Take it one step at a time. Only if that works, then add ssl. We can look into adding that later.
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- wtHatchery3355
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
1 week 13 hours ago - 1 week 13 hours ago #5
by wtHatchery3355
Replied by wtHatchery3355 on topic webtrees + Synology + proxy (https)
Good. Now I have webtrees 2.1.20 working on my Synology DS718
DSM 7.2
PHP 8.2
MariaDB10
- setup for SMTP email with gmail
- access via local network (LAN) with the Synology DNS server
(http://) www.xxxx.ca/webtrees
- access via internet with (https://) www.xxxx.ca/webtrees
however I could not make a reverse proxy to access via
(https://) webtrees.xxxx.ca
is there a pdf for webtrees administration?
DSM 7.2
PHP 8.2
MariaDB10
- setup for SMTP email with gmail
- access via local network (LAN) with the Synology DNS server
(http://) www.xxxx.ca/webtrees
- access via internet with (https://) www.xxxx.ca/webtrees
however I could not make a reverse proxy to access via
(https://) webtrees.xxxx.ca
is there a pdf for webtrees administration?
Last edit: 1 week 13 hours ago by wtHatchery3355.
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
1 week 12 hours ago #6
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic webtrees + Synology + proxy (https)
This?
webtrees.net/admin/
And a German manual:
wiki.genealogy.net/Webtrees_Handbuch/Anl...%BCr_Administratoren
If you have specific questions, do a search here, or just ask
webtrees.net/admin/
And a German manual:
wiki.genealogy.net/Webtrees_Handbuch/Anl...%BCr_Administratoren
If you have specific questions, do a search here, or just ask
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
1 week 9 hours ago #7
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic webtrees + Synology + proxy (https)
You want webtrees to run at two different URLs at the same time? Not possible.
The URL is set in the file data/config.ini.php
The URL is set in the file data/config.ini.php
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- wtHatchery3355
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
6 days 16 hours ago - 6 days 16 hours ago #8
by wtHatchery3355
Replied by wtHatchery3355 on topic webtrees + Synology + proxy (https)
(translate from french with Google translate)
It seems to me that what I am doing is correct
first the contents of my config.ini.php file
==================================================== ==============
; <?php return; ?> DO NOT DELETE THIS LINE
dbtype="mysql"
dbhost="localhost"
dbport="3307"
dbuser="root"
dbpass="mariaSyno_xxxx"
dbname="webtrees"
tblpfx="wt_"
base_url=" www.xxxx.ca/webtrees " <=== HTTPS/SSL Let's Encrypt
rewrite_urls="0"
==================================================== ==============
this config file remains permanent
How do I launch webtrees?
1) at home, on my local network (LAN) via wifi
for this I activated the Synology DNS server to define my domain name xxxx.ca (=type A) and define the subdomain www.xxxx.ca (=CNAME)
// which points to the IP address of my Synology 192.168.68.101 {fixed address on my LAN}
so i can access webtrees via
(http://) www.xxxx.ca/webtrees
2) outside my home, on a public internet network (or public wifi)
for this I used the DNS of my domain provider xxxx.ca and have my www.xxxx.ca
but in this case, I point my public IP address 184.16.xxx.xxx {this is not a fixed IP address}
so i can access webtrees via
(https://) www.xxxx.ca/webtrees
It seems to me that this is correct.
But I don't have a background in networking. Maybe I made a mistake (?)
It seems to me that what I am doing is correct
first the contents of my config.ini.php file
==================================================== ==============
; <?php return; ?> DO NOT DELETE THIS LINE
dbtype="mysql"
dbhost="localhost"
dbport="3307"
dbuser="root"
dbpass="mariaSyno_xxxx"
dbname="webtrees"
tblpfx="wt_"
base_url=" www.xxxx.ca/webtrees " <=== HTTPS/SSL Let's Encrypt
rewrite_urls="0"
==================================================== ==============
this config file remains permanent
How do I launch webtrees?
1) at home, on my local network (LAN) via wifi
for this I activated the Synology DNS server to define my domain name xxxx.ca (=type A) and define the subdomain www.xxxx.ca (=CNAME)
// which points to the IP address of my Synology 192.168.68.101 {fixed address on my LAN}
so i can access webtrees via
(http://) www.xxxx.ca/webtrees
2) outside my home, on a public internet network (or public wifi)
for this I used the DNS of my domain provider xxxx.ca and have my www.xxxx.ca
but in this case, I point my public IP address 184.16.xxx.xxx {this is not a fixed IP address}
so i can access webtrees via
(https://) www.xxxx.ca/webtrees
It seems to me that this is correct.
But I don't have a background in networking. Maybe I made a mistake (?)
Last edit: 6 days 16 hours ago by wtHatchery3355.
Please Log in or Create an account to join the conversation.
- Lars1963
- Offline
- Junior Member
Less
More
- Posts: 213
6 days 16 hours ago - 6 days 16 hours ago #9
by Lars1963
Replied by Lars1963 on topic webtrees + Synology + proxy (https)
If you're using https then
is the korrekt entry
Code:
base_url = "https://www.xxxx.ca/webtrees"
is the korrekt entry
Last edit: 6 days 16 hours ago by Lars1963.
Please Log in or Create an account to join the conversation.