JohnCMS 9.2.0

Тема закрыта
8.52K
.
# NakamuraOS (05.04.2020 / 19:33)
I can not go to profile
Nginx reverve proxy apache2
johncms only support ip v4
.
# ginbert (05.04.2020 / 20:25)
johncms only support ip v4
That is not the reason
Прикрепленные файлы:
.
Кадило крутится, лавэха мутится
# NakamuraOS (05.04.2020 / 19:33)
I can not go to profile
Nginx reverve proxy apache2
Look in phpinfo to see if REMOTE_ADDR is there or not.
.
# Simba (05.04.2020 / 20:46)
Look in phpinfo to see if REMOTE_ADDR is there or not.
127.0.0.1
You can see more: https://vnnib.com/phpinfo.php
Прикрепленные файлы:
.
PaRtiZzaN, Бро мне одному кажется что у нас гутицмс посты форуме так же выглядели , Ник, ава и дата сверху и ответ и цитирование внизу) мы тогда были на год переди хД
.
Кадило крутится, лавэха мутится
# NakamuraOS (06.04.2020 / 04:00)
127.0.0.1
You can see more: https://vnnib.com/phpinfo.php
There must be an IP address from which you access the Internet.
.
NakamuraOS
# Simba (06.04.2020 / 10:37)
There must be an IP address from which you access the Internet.
I'm using server nginx as reverse proxy, so 127.0.0.1 is nginx's ip.

My real IP:
$_SERVER['HTTP_X_FORWARDED_FOR'] 183.81.xxx.243
$_SERVER['HTTP_X_REAL_IP'] 183.81.xxx.243
.
Кадило крутится, лавэха мутится
# NakamuraOS (06.04.2020 / 14:27)
I'm using server nginx as reverse proxy, so 127.0.0.1 is nginx's ip.

My real IP:
$_SERVER['HTTP_X_FORWARDED_FOR'] 183.81.xxx.243
$_SERVER['HTTP_X_REAL_IP'] 183.81.xxx.243
You need to configure it correctly.
https://easyengine.io/tutorial ... l-ip/
.
# Simba (06.04.2020 / 15:06)
You need to configure it correctly.
https://easyengine.io/tutorial ... l-ip/
Thank you very much. I fixed it.
For apache2 (nginx reverse proxy), i used this guide: https://gist.github.com/patroc ... e0678.
.
¯\_(ツ)_/¯
# GECKTOR (06.04.2020 / 04:18)
PaRtiZzaN, Бро мне одному кажется что у нас гутицмс посты форуме так же выглядели , Ник, ава и дата сверху и ответ и цитирование внизу) мы тогда были на год переди хД
У нас красивее было))
Всего: 232