Knowing the server port inside Perl code

2018-04-30 Thread Ondrej Jombik
When using mail module for SMTP and doing auth using Perl code, it might be handy to know entry port number. For example 25/TCP, 465/TCP or 587/TCP; those are the most used ones. I thought this would be somewhere among provided headers: $request->header_in('Auth-Method'); $request->h

Re: Reverse proxy from NGINX to Keycloak with 2FA

2018-04-30 Thread Francis Daly
On Mon, Apr 23, 2018 at 04:43:26AM -0400, Joncheski wrote: Hi there, > I have a problem with NGINX. In addition, I will provide you with a > configuration file and a picture of the architecture schema ( > https://ibb.co/jqvc8c ). > > I want to access Keycloak via nginx and log in to it. I use it

Re: Installed WP in a subdir, can access wp-admin, but URLs are getting re-written without the subdir PATH. Where do I set this?

2018-04-30 Thread Ph. Gras
Hello there! > I've installed WP in a site subdir. > > I can now access wp-admin pages at the expected URL. > > Sort of. I can get there manually, but my site config keeps redirecting, > stripping URLs of the subdir path to WordPress. > > My config now has > > wp-config.php >

Installed WP in a subdir, can access wp-admin, but URLs are getting re-written without the subdir PATH. Where do I set this?

2018-04-30 Thread aclion
I've installed WP in a site subdir. I can now access wp-admin pages at the expected URL. Sort of. I can get there manually, but my site config keeps redirecting, stripping URLs of the subdir path to WordPress. My config now has wp-config.php https://test.example.com/bl

Re: nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-30 Thread aclion
Got this sorted! AC ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Flask app with virtual Python environment in Unit 1.1 ?

2018-04-30 Thread Ralph Seichter
On 29.04.18 23:03, Valentin V. Bartenev wrote: > Unfortunately, the only way right now is to set them for the main > process (when unitd is executed) or in the application code. Ok. I've now written an openrc-run init script that uses '-e NAME=VALUE' arguments for start-stop-daemon. This currentl