Search Results for 'nginx'

Results from the Forum
Rafael Menezes
Participant
#0

Hi, I’m trying to migrate from Apache to Nginx. On an environment test via mobile, top menu has a big white space.

Do You know if is there any incompatibility with Nginx? Here is my test page: netflu.evtest.info

Thanks,
Rafael

iisnet
tagDiv Member

HTTP/2 works on Plesk versions >12.5, and on NGINX versions >1.9.5
Bye.

simchris
tagDiv Member

Sure. Whatever. For servers running NGINX and Plesk, http/2 will not work. This was the point for the original poster (OP). So, no https setup or proper cert would generate errors and http/2 would not work at server level.

So, if browsers require it and certain servers require it, that = ‘required’ beyond the technical issue of the format which originally required it, then didn’t, but now technically does to work for most instances. So, moot point beyond historical discussion.

So, my point is still valid. Yours added nothing to the actual issue, but thanks for the input and hope you’re enjoying the theme 🙂

(I’ve been lurking here since TD launched, but don’t work here … and I’m a bit of a dinosaur on this stuff – having been building sites since 1995, and WordPress since 2004.)

I’m out!

simchris
tagDiv Member

Yes, I am well aware having managed our own servers since 1996. However *most* web hosts are requiring https for http/2 as a standard with the ‘https everywhere’ movement.

Much like Google will be warning site visitors about “site not safe” for any website with an insecure form in October. Everybody *should* be moving to https. Period. We moved all our sites to https in 2004, not just the ecom systems on sites.

Obviously anybody who can read up on the topic knows that.

My point was that somebody trying to switch on http/2 on their server as a hosting client, where the server policy is to enforce https for http/2 will have errors and perhaps generate ‘port’ errors since there will be mis-match on secure/insecure ports, much like with mod_pagespeed couple years back (2013? wow time flies!) with mixed content.

server certificate does NOT include an ID which matches the server name

For example on a Plesk/ONYX server, “Make sure that SSL support is enabled for the web site in the Hosting Settings section of the domain. HTTP/2 is supported for SSL sites only, so non-SSL sites will continue to work under HTTP /1.x. That is a restriction of nginx web server and web browsers.”

REF: https://docs.plesk.com/en-US/onyx/administrator-guide/web-servers/apache-and-nginx-web-servers-linux/http2-support-in-plesk.76461/

My comment was intended for the OP who might not understand what he/she is actually doing with this process.

Cheers.

  • This reply was modified 8 years by simchris.
  • This reply was modified 8 years by simchris.
  • This reply was modified 8 years by simchris.
iisnet
tagDiv Member

None of the above errors are caused by TagDiv so you need to fix your server.
Check for syntax errors in nginx.conf. As root run:
service nginx configtest
Check nginx is listening on the configured ports;
lsof -P -n -i :80 -i :443 | grep LISTEN

These errors:
“Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php”
just mean a non-existent php script is being requested.

  • This reply was modified 8 years by iisnet.
  • This reply was modified 8 years by iisnet.
stgizmo
tagDiv Member

Thank you Chris and iisnet for suggestion.

Ngnix Error log :
2017/09/09 01:24:17 [emerg] 17449#0: invalid port in “|IP|:|PORT_80|” of the “listen” directive in /etc/nginx/nginx-vhosts.conf:2
2017/09/09 01:41:37 [notice] 27734#0: signal process started
2017/09/09 01:53:43 [emerg] 31974#0: “http2_recv_buffer_size” directive is not allowed here in /usr/local/directadmin/data/users/iphoneap/nginx.conf:158
2017/09/09 02:00:00 [emerg] 33430#0: “ssl_prefer_server_ciphers” directive is duplicate in /etc/nginx/nginx-defaults.conf:29
2017/09/09 02:02:25 [emerg] 34094#0: “http2_recv_buffer_size” directive is not allowed here in /etc/nginx/nginx-events.conf:3
2017/09/09 02:07:27 [emerg] 36405#0: “http2_recv_buffer_size” directive is not allowed here in /usr/local/directadmin/data/users/iphoneap/nginx.conf:165
2017/09/09 02:10:12 [notice] 37055#0: signal process started
2017/09/09 02:10:33 [emerg] 37086#0: “ssl_session_cache” directive is not allowed here in /etc/nginx/nginx.conf:32
2017/09/09 02:10:48 [emerg] 37102#0: “ssl_session_cache” directive is not allowed here in /etc/nginx/nginx.conf:33
2017/09/09 02:12:17 [emerg] 37739#0: “ssl_ciphers” directive is duplicate in /usr/local/directadmin/data/users/iphoneap/nginx.conf:165
2017/09/09 02:13:25 [emerg] 37758#0: “ssl_ciphers” directive is duplicate in /usr/local/directadmin/data/users/iphoneap/nginx.conf:165
2017/09/09 02:14:10 [notice] 37780#0: signal process started

Apache error log :
[Sat Sep 09 01:23:42.120248 2017] [lbmethod_heartbeat:notice] [pid 11995:tid 139905954351040] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 01:23:42.125643 2017] [mpm_event:notice] [pid 11995:tid 139905954351040] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 01:23:42.125796 2017] [core:notice] [pid 11995:tid 139905954351040] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 01:24:02.112928 2017] [mpm_event:notice] [pid 11995:tid 139905954351040] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 01:24:03.016122 2017] [ssl:warn] [pid 15545:tid 140326462146496] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:24:03.016363 2017] [suexec:notice] [pid 15545:tid 140326462146496] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 01:24:04.018052 2017] [ssl:warn] [pid 15778:tid 140326462146496] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:24:04.018415 2017] [lbmethod_heartbeat:notice] [pid 15778:tid 140326462146496] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 01:24:04.023933 2017] [mpm_event:notice] [pid 15778:tid 140326462146496] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 01:24:04.023993 2017] [core:notice] [pid 15778:tid 140326462146496] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 01:25:05.290881 2017] [core:warn] [pid 15778:tid 140326462146496] AH00045: child process 15878 still did not exit, sending a SIGTERM
[Sat Sep 09 01:25:07.293462 2017] [core:warn] [pid 15778:tid 140326462146496] AH00045: child process 15878 still did not exit, sending a SIGTERM
[Sat Sep 09 01:25:09.296005 2017] [core:warn] [pid 15778:tid 140326462146496] AH00045: child process 15878 still did not exit, sending a SIGTERM
[Sat Sep 09 01:25:11.298634 2017] [core:error] [pid 15778:tid 140326462146496] AH00046: child process 15878 still did not exit, sending a SIGKILL
[Sat Sep 09 01:25:13.029095 2017] [ssl:warn] [pid 18343:tid 139953176242112] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:25:13.029744 2017] [suexec:notice] [pid 18343:tid 139953176242112] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 01:25:14.030280 2017] [ssl:warn] [pid 18344:tid 139953176242112] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:25:14.031241 2017] [lbmethod_heartbeat:notice] [pid 18344:tid 139953176242112] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 01:25:14.036995 2017] [mpm_event:notice] [pid 18344:tid 139953176242112] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 01:25:14.037132 2017] [core:notice] [pid 18344:tid 139953176242112] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 01:41:34.756846 2017] [mpm_event:notice] [pid 18344:tid 139953176242112] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 01:41:35.024534 2017] [ssl:warn] [pid 26515:tid 140620780279744] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:41:35.024966 2017] [suexec:notice] [pid 26515:tid 140620780279744] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 01:41:36.023928 2017] [ssl:warn] [pid 26516:tid 140620780279744] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:41:36.024558 2017] [lbmethod_heartbeat:notice] [pid 26516:tid 140620780279744] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 01:41:36.028734 2017] [mpm_event:notice] [pid 26516:tid 140620780279744] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 01:41:36.028832 2017] [core:notice] [pid 26516:tid 140620780279744] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 01:42:01.932602 2017] [mpm_event:notice] [pid 26516:tid 140620780279744] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 01:42:03.034675 2017] [ssl:warn] [pid 28477:tid 140484163475392] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:42:03.035083 2017] [suexec:notice] [pid 28477:tid 140484163475392] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 01:42:04.024878 2017] [ssl:warn] [pid 28633:tid 140484163475392] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 01:42:04.025532 2017] [lbmethod_heartbeat:notice] [pid 28633:tid 140484163475392] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 01:42:04.029876 2017] [mpm_event:notice] [pid 28633:tid 140484163475392] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 01:42:04.029980 2017] [core:notice] [pid 28633:tid 140484163475392] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:07:21.651181 2017] [mpm_event:notice] [pid 28633:tid 140484163475392] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:07:23.034233 2017] [ssl:warn] [pid 35388:tid 139899561912256] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:07:23.034799 2017] [suexec:notice] [pid 35388:tid 139899561912256] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:07:24.027120 2017] [ssl:warn] [pid 35389:tid 139899561912256] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:07:24.027755 2017] [lbmethod_heartbeat:notice] [pid 35389:tid 139899561912256] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:07:24.031754 2017] [mpm_event:notice] [pid 35389:tid 139899561912256] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:07:24.031878 2017] [core:notice] [pid 35389:tid 139899561912256] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:28:35.783040 2017] [mpm_event:notice] [pid 35389:tid 139899561912256] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:28:36.031744 2017] [ssl:warn] [pid 42717:tid 140341112342464] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:28:36.032293 2017] [suexec:notice] [pid 42717:tid 140341112342464] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:28:37.032200 2017] [ssl:warn] [pid 42718:tid 140341112342464] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:28:37.068635 2017] [lbmethod_heartbeat:notice] [pid 42718:tid 140341112342464] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:28:37.074005 2017] [mpm_event:notice] [pid 42718:tid 140341112342464] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:28:37.074120 2017] [core:notice] [pid 42718:tid 140341112342464] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:29:01.528582 2017] [mpm_event:notice] [pid 42718:tid 140341112342464] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:29:02.029127 2017] [ssl:warn] [pid 44571:tid 140116376684480] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:29:02.029517 2017] [suexec:notice] [pid 44571:tid 140116376684480] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:29:03.024589 2017] [ssl:warn] [pid 44572:tid 140116376684480] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:29:03.025264 2017] [lbmethod_heartbeat:notice] [pid 44572:tid 140116376684480] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:29:03.029263 2017] [mpm_event:notice] [pid 44572:tid 140116376684480] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:29:03.029368 2017] [core:notice] [pid 44572:tid 140116376684480] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:37:01.302801 2017] [mpm_event:notice] [pid 44572:tid 140116376684480] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:37:02.038732 2017] [ssl:warn] [pid 48959:tid 140679153174464] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:37:02.039366 2017] [suexec:notice] [pid 48959:tid 140679153174464] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:37:03.208799 2017] [ssl:warn] [pid 49033:tid 140679153174464] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:37:03.215742 2017] [lbmethod_heartbeat:notice] [pid 49033:tid 140679153174464] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:37:03.224586 2017] [mpm_event:notice] [pid 49033:tid 140679153174464] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:37:03.224711 2017] [core:notice] [pid 49033:tid 140679153174464] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:37:04.079119 2017] [mpm_event:notice] [pid 49033:tid 140679153174464] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:37:05.024942 2017] [ssl:warn] [pid 50236:tid 140183365179328] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:37:05.025329 2017] [suexec:notice] [pid 50236:tid 140183365179328] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:37:06.024682 2017] [ssl:warn] [pid 50237:tid 140183365179328] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:37:06.025350 2017] [lbmethod_heartbeat:notice] [pid 50237:tid 140183365179328] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:37:06.029407 2017] [mpm_event:notice] [pid 50237:tid 140183365179328] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:37:06.029516 2017] [core:notice] [pid 50237:tid 140183365179328] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:38:01.674441 2017] [mpm_event:notice] [pid 50237:tid 140183365179328] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:38:02.031666 2017] [ssl:warn] [pid 52084:tid 139651287865280] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:38:02.032251 2017] [suexec:notice] [pid 52084:tid 139651287865280] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:38:03.028882 2017] [ssl:warn] [pid 52085:tid 139651287865280] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:38:03.029525 2017] [lbmethod_heartbeat:notice] [pid 52085:tid 139651287865280] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:38:03.033530 2017] [mpm_event:notice] [pid 52085:tid 139651287865280] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:38:03.033676 2017] [core:notice] [pid 52085:tid 139651287865280] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:53:18.402870 2017] [mpm_event:notice] [pid 52085:tid 139651287865280] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:53:19.024614 2017] [ssl:warn] [pid 57937:tid 140257448908736] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:53:19.025001 2017] [suexec:notice] [pid 57937:tid 140257448908736] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:53:20.024446 2017] [ssl:warn] [pid 57938:tid 140257448908736] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:53:20.025144 2017] [lbmethod_heartbeat:notice] [pid 57938:tid 140257448908736] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:53:20.029182 2017] [mpm_event:notice] [pid 57938:tid 140257448908736] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:53:20.029274 2017] [core:notice] [pid 57938:tid 140257448908736] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 02:54:02.940309 2017] [mpm_event:notice] [pid 57938:tid 140257448908736] AH00491: caught SIGTERM, shutting down
[Sat Sep 09 02:54:04.027340 2017] [ssl:warn] [pid 60097:tid 139656345204672] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:54:04.027742 2017] [suexec:notice] [pid 60097:tid 139656345204672] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Sep 09 02:54:05.029765 2017] [ssl:warn] [pid 60098:tid 139656345204672] AH01909: http://www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 09 02:54:05.030538 2017] [lbmethod_heartbeat:notice] [pid 60098:tid 139656345204672] AH02282: No slotmem from mod_heartmonitor
[Sat Sep 09 02:54:05.035379 2017] [mpm_event:notice] [pid 60098:tid 139656345204672] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured — resuming normal operations
[Sat Sep 09 02:54:05.035488 2017] [core:notice] [pid 60098:tid 139656345204672] AH00094: Command line: ‘/usr/sbin/httpd’
[Sat Sep 09 10:09:57.219760 2017] [proxy_fcgi:error] [pid 60164:tid 139655249704704] [client 127.0.0.1:25420] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 10:09:57.224718 2017] [proxy_fcgi:error] [pid 60164:tid 139655041206016] [client 127.0.0.1:25424] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 11:01:34.982918 2017] [proxy_fcgi:error] [pid 60164:tid 139654831408896] [client 127.0.0.1:34114] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 11:01:34.996518 2017] [proxy_fcgi:error] [pid 60164:tid 139654537692928] [client 127.0.0.1:34118] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 11:50:19.836039 2017] [proxy_fcgi:error] [pid 60179:tid 139655114635008] [client 127.0.0.1:42496] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 11:50:19.877037 2017] [proxy_fcgi:error] [pid 60179:tid 139654894348032] [client 127.0.0.1:42500] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 13:01:58.035685 2017] [proxy_fcgi:error] [pid 46079:tid 139654835709696] [client 127.0.0.1:53248] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 13:01:58.041250 2017] [proxy_fcgi:error] [pid 46079:tid 139654846199552] [client 127.0.0.1:53252] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 13:18:11.781190 2017] [proxy_fcgi:error] [pid 46079:tid 139654269257472] [client 127.0.0.1:55580] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php
[Sat Sep 09 13:18:11.785528 2017] [proxy_fcgi:error] [pid 46079:tid 139654825219840] [client 127.0.0.1:55584] AH01071: Got error ‘Primary script unknown\n’, referer: http://ping.rootblog.com/rpc.php

simchris
tagDiv Member

Ideally, site should be https php5.6 or 7, and if using nginx make sure you dont have apache directives in htaccess. Http/2 is server managed and shoukd have nothing to do with theme. Check server error log for what is going on..only way you can sort that out.

simchris
tagDiv Member

Well, we aren’t using that for normal stuff.

It’s the way http/2 works on Plesk/Onyx — so, that is the minor hiccup we’re still sorting out. I think it has to do with the way that NGINX can run the code faster without the Apache layer, and yet grabs and compresses the code running on Apache to serve the cached copy in compressed format.

What’s funny is that I bugged Plesk/ONYX about adding some kind of security setup panel to navigate the complexity, and they added a ‘security advisor’ plugin/extension to do a one click setup. Nice. Have not yet tried it, though.

It may be with new version we don’t have to deal with the NGINX stuff anymore, but that was how it was done initially. I’ve been kinda waiting for improvements on that, with intention of making it the baseline for January 1, 2018. December will be the test month. Right now, it’s house cleaning for php 7 as we have a lot of old creaky shtml stuff to retire!

Torasko
tagDiv Member

Any specific reason that you went for a NGINX reverse proxy? I read reports that it gives incompatibilities with WordPress sometimes, although I must be honest and say I haven’t really looked into it that much. Apache as the main webserver works just fine at the moment. 😀

simchris
tagDiv Member

heh… yeah… we have CentOS on dedicated server also, and the funky thing is we run Apache, and http/2 under Plesk/Onyx has to run as part of NGINX … which sits in “front” of Apache … which is bizarre.

We’re still playing with this, since we are doing house cleaning to move fully from PHP 5.6 to 7.1x.

Too much fun! 😉

(( tested a page this morning normal page with photo + video, site branding graphics = 1.6 sec; AMP version of page, no video, no branding graphics 1.5 sec )) ….

Bogdan B.
tagDiv Staff

Hello,
The theme has no problem with nginx, but it deoes have with untested plugins.
Please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Also make sure to re-save permalinks

Thank you!

Rafael Menezes
Participant
#0

Hi!

Do you know if Newspaper is compatible with Nginx? On test environment, I’m trying to use it, but when I click on any link (posts or pages), the site load home page again.

It happens when using post name as permanent link. Using default or other, works correctly.

Thanks in advance!

polys_a
tagDiv Member

Hello thank you for the reply.

First of all I can normally share to social media using the share buttons and the test button in Next Scripts.

The problem is only on auto share and the error message is:

Y:[2017-08-07 09:37:17] - [Error] [IMAGE] - -=ERROR=- Server can't access it's own images. (Image URL: https://i2.wp.com/socialista.com.cy/wp-content/uploads/2016/04/diet_8-1.jpg?fit=800%2C600) Most probably it's a DNS problem. Please contact your hosting provider. a:4:{s:7:"headers";a:6:{s:6:"server";s:5:"nginx";s:4:"date";s:29:"Mon, 07 Aug 2017 06:37:17 GMT";s:12:"content-type";s:24:"text/html; charset=utf-8";s:17:"transfer-encoding";s:7:"chunked";s:10:"connection";s:10:"keep-alive";s:4:"x-nc";s:10:"HIT fra 17";}s:4:"body";s:65:"We cannot complete this request, remote data could not be fetched";s:8:"response";a:2:{s:4:"code";i:404;s:7:"message";s:9:"Not Found";}s:7:"cookies";a:0:{}} https://i2.wp.com/socialista.com.cy/wp-content/uploads/2016/04/diet_8-1.jpg?fit=800%2C600

Please note my DNS are correct, confirmed by my provider.

Thanks

Amit
tagDiv Member

Hello @loano1

This guide works on Nginx server.
You can skip .htaccess part.

FREEBOX17
Participant
#0

Hello

We want to install the machine in AWS of Amazon and we have problems with the load of the template, in elements like the tag div composer …

In the system status of newspaper, says that in the section of URPHP.ini configuration:

Server Software: Nginx/1.10.3
PHP Version: 7.1.6
Post_max_size: 200 m-You cannot upload images, themes and plugins that have a size bigger than this value. To see how you can change this please check our guide here.
Max_execution_time: 300
Max_input_vars: 5000
Suhosin installed: false
Mbstring: Not Available

Can it be security clearance issues?

Thank you

Jc

David
tagDiv Member

Hi, has anyone done an optimization using a Nginx server?

Amit
tagDiv Member

Hey you using Nginx server. And you using apache tips
Use expiry header for Nginx

This may help you
https://www.nginx.com/blog/9-tips-for-improving-wordpress-performance-with-nginx/

epicmatt
tagDiv Member

redis cache with nginx helper. Not working still.
http://imgur.com/54dfe05d-fa20-4ff9-a060-080cafba3115gif

  • This reply was modified 9 years by epicmatt.
epicmatt
Participant
#0

For some reason nomatter what I enter into any of the ads field they do not save. In fact no matter what I enter or any field I change in the Ads section, nothing carries over once I refresh the Ads section after clicking save.

theme version 8.0

Server software i nginx/1.13.1
PHP Version i 7.1.6
post_max_size i 160M
max_execution_time 60
max_input_vars 10000
SUHOSIN installed false
mbstring available
WordPress and plugins
WP Home URL i https://X.com
WP Site URL i https://XX.com
WP version i 4.8
WP multisite enabled i No
WP Language i en_US
WP Memory Limit 256 MB/request
WP_DEBUG False

David
tagDiv Member

Hello,

Unfortunately, I still get this 2 errors. Latest WordPress & latest Newspaper. All plugins are deactivated except for td-composer. Please check here: http:// lustaufeinbier.de/
It’s running on nginx with php 7.0.18.

Thanks!

enterpr1se
tagDiv Member

Here is my actived plugin list

Plugin Statuses
Theme Name Newsmag Child theme
Theme Version 1.1
Active Plugins
Number of Active Plugins 59
360° Panoramic Viewer 1.1.4
Accelerated Mobile Pages 0.9.50
Ad Blocker Notify Lite 2.2.1
Advanced Ads 1.7.25
Advanced AMP ADS 1.6
Advanced Excerpt 4.2.3
Akismet Anti-Spam 3.3.2
AMP 0.4.2
Animated Gif Resize 1.0
Better Analytics 1.2.3
Connects – Mailchimp Addon 2.0.3.3
ConvertPlug 2.4.0
Crayon Syntax Highlighter 2.8.4
Disqus Conditional Load 10.2.3
EWWW Image Optimizer 3.4.0
Fast Velocity Minify 2.0.8
Google Adsense Adblock Tracker 1.0.0
Jetpack by WordPress.com 4.9
Media Cleaner 4.0.2
Multipage Plugin 1.3.6
NextScripts: SNAP Pro Upgrade Helper 1.3.9
NextScripts: Social Networks Auto-Poster 3.8.2
Nginx Helper 1.9.10
NinjaFirewall (WP Edition) 3.5
OneSignal Push Notifications 1.14.3
Purge Cache for CloudFlare 1.2
Redis Object Cache 1.3.5
Regenerate Thumbnails 2.2.6
Search & Replace 3.1.2
Social Warfare 2.2.3
Social Warfare – Pro 2.2.3
Table of Contents Plus 1601
tagDiv Social Counter 4.1
tagDiv Speed Booster 4.8
TinyMCE Advanced 4.5.6
VaultPress 1.8.9
WPBakery Visual Composer 5.1.1
WP Crontrol 1.5
WP Google Maps 6.4.03
WP Links Page Pro (Personal Version) 3.3
WP Time Capsule 1.9.3
XML Sitemap & Google News feeds 4.7.5
Yoast SEO Premium 4.8

Here is my custom CSS
/* center the ads */
.td-a-rec-id-content_inline {
text-align: center;
}
.td-a-rec {
text-align: center;
}

/* disable more articles in mobile */
@media (max-width: 767px) { .td-more-articles-box{ display:none;} }

.alignnone img, .aligncenter img {
/* width: 100%; */
}

/*force line break in mobile*/
html { -ms-word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
@media(max-width: 768px){ code { white-space: normal !important; } }

I tried disable all plugins except WPBakery Visual Composer, and clear all custom css, but it doesn’t help
Do you need any other information?

gcamara
Participant
#0

After upgrading to 8.0 I getting this error in nginx log every page request. Do you have any clue about this?

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘td_page_generator’ does not have a method ‘get_breadcrumbs_json_ld’ in /usr/share/nginx/bedrock-t/web/wp/wp-includes/class-wp-hook.php on line 298″

polys_a
tagDiv Member

Maybe is server settings?

I am using Apache + PHP 7.1 (FastCGI) + Nginx under plesk onyx

The server specs are:

https://www.hetzner.de/en/hosting/produkte_rootserver/px61

  • This reply was modified 9 years by polys_a.
marcar
Participant
#0

Hi There,

Firstly, I’m not sure if it’s just me, but the search functionality of this forum seems to be broken, It makes it difficult for me to research this issue.

We continue to have intermittent load and performance issues, we seem to have narrowed it down to multiple /wp-admin/admin-ajax.php

It appears one article page load will generate 21 requests to /wp-admin/admin-ajax.php.

We are seeing strange intermittent issues where I believe (according to our tech) we are being flooded with these requests, we get an abnormally high number of active nginx connections, the site eventually slows to a stop and crashes. Strangely it eventually (maybe after an hour) it corrects itself, it doesn’t seem to be associated with high load.

I’ve read a few similar threads of people experiencing ver similar issues

https://forum.tagdiv.com/topic/i-need-shim-working-again/
https://forum.tagdiv.com/topic/high-processor-usage-by-admin-ajax-and-index-php/

I’ve read a few different bits of advise with no particular resolution.

1. Potentially it’s an issue with Visual Composer and changing to TD Composer might fix the issue, this seems risky, so I’m hesitant to do this work unless there is a high level of confidence that is will fix the issue.

2. Reduce the reliance of ajax and pagination on blocks, I’m happy to do this, but the vast majority of my users access the article page directly and through mobile devices. For example yesterday we had 550K impressions on mobile and 7K impressions on desktop.

What specifically should I be looking for to reduce AJAX calls and pagination? I can’t see any specifically on the article pages.

At this point I’m willing to forgo almost any functionality that is not crucial to our business to ensure stability.

The site is http://www.shwemom.com

Cheers,
Mick

abgraphics84
tagDiv Member

Hi, thank you for the answer, unfortunately I can not use wp-cache as it does not handle the varnish system on nginx optimally.
I can only exclude from the cache the functions that manage the menu.
In what file can I find them?
Thanks so much

Viewing 25 results - 251 through 275 (of 452 total)