Web based family history software

This Help forum is for issues relates to the latest release (1.6.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

Question webtrees under NGINX

  • fa10175
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 9 months ago #1 by fa10175
webtrees under NGINX was created by fa10175
Je voudrais connaître si quelqu'un a installé "webtrees 1.6.2" sur un serveur "NGINX".
Quand je tapes "http://localhost/", il me réponds
Impossible d'afficher ce siteweb
Le sites Web "https://localhost:80/login.php?url=index.php%3F" semble indisponible l'erreur précise est SSL handshake failed
je ne travailles pas en SSL. Je n'ai pas converti le site pour être accessible en https.
Que faut-il faire dans nginx.conf ou dans default (sites-available) ou ailleurs pour ne pas avoir ce problème.
Merci
Fa10175

I would like to know if anyone has installed "webtrees 1.6.2" on a "NGINX" server.
When I tapes "http: // localhost /", he answer me
Can not display this WebSite
The website "https: // localhost: 80 / login.php url = index.php% 3F" seems unavailable precise error SSL handshake failed
I do not work with SSL. I have not converted the site to be accessible in https.
What should we do in nginx.conf or default (sites-available) or elsewhere for not having this problem.
Thanks
Fa10175

- Nginx 1.18
- PHP 8.2
- MariaDB 10.5.19
- Webtrees 2.1.18
- Raspberry Pi 2 rev1.1
- Local server - webtrees - SVN - latest

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #2 by fisharebest
Replied by fisharebest on topic webtrees under NGINX

I would like to know if anyone has installed "webtrees 1.6.2" on a "NGINX" server.


The demo server uses NGINX. e.g. dev.webtrees.net/demo-stable/

The website "https: // localhost: 80 / login.php url = index.php% 3F" seems unavailable precise error SSL handshake failed

I have not converted the site to be accessible in https.


Your server is telling webtrees that it is configured to use HTTPS and port 80.

Create a file phpinfo.php, containing
Code:
<?php phpinfo(INFO_VARIABLES); ?>

and view the file using http://localhost/phpinfo.php

What info do you see?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • fa10175
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 9 months ago #3 by fa10175
Replied by fa10175 on topic webtrees under NGINX
Thanks Greg
I do nothing to configure in https.
For me I say http.
Here the result asked: http://localhost/phpinfo.php

I don't know if this help you to give me a solution

- Nginx 1.18
- PHP 8.2
- MariaDB 10.5.19
- Webtrees 2.1.18
- Raspberry Pi 2 rev1.1
- Local server - webtrees - SVN - latest
Attachments:

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4 by Jackie
Replied by Jackie on topic webtrees under NGINX
Bonjour fa10175,

Vérifiez la table wt_site_setting de votre MySQL database. Vous devez supprimer la ligne LOGIN_URL
webtrees n'a pas besoin d'une URL spécifique sauf pour une connexion https/

Please Log in or Create an account to join the conversation.

  • fa10175
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 9 months ago #5 by fa10175
Replied by fa10175 on topic webtrees under NGINX
Merci Jackie
je n'ai pas cette variable dans wt_site_setting.

Thanks Jackie
i don' have this variable in wt_site_setting.

- Nginx 1.18
- PHP 8.2
- MariaDB 10.5.19
- Webtrees 2.1.18
- Raspberry Pi 2 rev1.1
- Local server - webtrees - SVN - latest

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #6 by fisharebest
Replied by fisharebest on topic webtrees under NGINX
Your server has set the "HTTPS" variable:

$_SERVER["HTTPS"]

It is normal to set this variable only when a server is using HTTPS.

This is causing webtrees to think that the server is using https://

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • fa10175
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #7 by fa10175
Replied by fa10175 on topic [Solved-Resolu]webtrees under NGINX
Thanks Greg
in the file Fastcgi_params
fastcgi_param HTTPS is declared i suppose during the installationg Fastcgi .
I put # to comment and it's OK
Thanks again

- Nginx 1.18
- PHP 8.2
- MariaDB 10.5.19
- Webtrees 2.1.18
- Raspberry Pi 2 rev1.1
- Local server - webtrees - SVN - latest

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}