Re: logrotate (?) screws it badly

2023-10-06 Thread Ralph Seichter via nginx
* lejeczek via nginx: > For after logs got rotated Nginx logs into: > access.log.1 & error.log.1 > and now as it should, you know > access.log & error.log You may want to try logrotate's "copytruncate" option. -Ralph ___ nginx mailing list

Re: Can I rewrite https to http?

2023-08-15 Thread Ralph Seichter via nginx
* baalch...@gmail.com: > So, can I redirect the request, when user open https://nossl.abc.com, the > will be redirect to http://nossl.abc.com? While technically possible, you might find that connecting clients may interpret this as a "downgrade attack", because the client asked for an encrypted

Re: Prevent direct access to files but allow download from site

2020-03-12 Thread Ralph Seichter
* MAXMAXarena: > The user MUST BE ABLE to download the file from the article pages when > LOGGED. If the user is NOT LOGGED, he cannot download the file, > therefore even recovering the url, he must receive an error or any > other type of block. You describe restricted access, not public access.

Re: Prevent direct access to files but allow download from site

2020-03-11 Thread Ralph Seichter
* MAXMAXarena: > what do you mean by "mutually exclusive"? I am assuming you have looked up the definition, so I'm not sure in what way the term could be be misunderstood? -Ralph ___ nginx mailing list nginx@nginx.org

Re: Prevent direct access to files but allow download from site

2020-03-11 Thread Ralph Seichter
* MAXMAXarena: > I want to be able to download a file from the site's html tag [...] > But do not allow direct access and download, using the browser or > other tools such as curl or wget. Public access and restricted access are mutually exclusive. It also makes nearly no difference what utility

Re: Come on... Bring the Official PROPFIND and OPTIONS support!

2020-02-22 Thread Ralph Seichter
* LilFag: > I'm using Windows and I want Nginx to support these methods in their > WebDAV. Free software meets entitlement issues. What's the magic word? -Ralph ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Git Plugin

2019-11-05 Thread Ralph Seichter
* noloader: > I'd like to put a web front-end on the Git project for browsing and > diff'ing. Git comes with its own web interface called "gitweb" which covers most basic needs (see https://git-scm.com/docs/gitweb). -Ralph ___ nginx mailing list

Re: How to build NodeJS support without an Internet connection?

2018-12-12 Thread Ralph Seichter
* Valentin V. Bartenev: > http://hg.nginx.org/unit/rev/fd323ad9e24f That looks promising, Valentin. I'll try a build as soon as I'm able to. Would you perhaps consider releasing this as version 1.6.1, so there's an official tarball I can use during the build process? -Ralph

How to build NodeJS support without an Internet connection?

2018-12-09 Thread Ralph Seichter
Hello developer team. I am the maintainer of the NGINX Unit ebuild for Gentoo Linux, and currently I am struggling with colliding requirements of Unit's and Gentoo's build strategies. As you may know, the Gentoo way is to build everything from the source code, with only very few exceptions. If,

Re: Please DO NOT add [nginx] to subject

2018-10-15 Thread Ralph Seichter
On 15.10.18 15:55, Lucas Rolff wrote: > Might be important to mention that services such as exchange doesn’t support > subaddressing, so it’s a bit harder there :) Well, Microsoft... Server-side filtering is simple enough, e.g. an "Inbox rule" based on the List-Id header containing the string .

Re: Please DO NOT add [nginx] to subject

2018-10-15 Thread Ralph Seichter
On 15.10.18 15:32, Stefan Müller wrote: > I read up on email extension [...] Thanks, I appreciate that. > I still believe that a adding [nginx] would make the situation more > comfortable. And I firmly believe the disadvantages of subject rewriting outweigh the percieved "comfort", based on

Re: Please DO NOT add [nginx] to subject

2018-10-15 Thread Ralph Seichter
On 15.10.18 14:59, Stefan Müller wrote: > but is seems others do or at least agree with me So what if "others" agree with you? People agree with me as well, check existing discussions about this issue. If you challenge conventions that have been around for good reason, for longer than some

Re: Please DO NOT add [nginx] to subject

2018-10-15 Thread Ralph Seichter
On 15.10.18 12:35, Stefan Mueller wrote: > In answer to Ralph's reply. Why not reply to my message then? > That is a very Gmail specific solution but, thanks god, not anyone is > using Gmail. For them it needs other solutions. No, it does not. Besides, are you trying to spin this to you

Re: Please DO NOT add [nginx] to subject

2018-10-14 Thread Ralph Seichter
On 14.10.18 21:14, Stefan Müller wrote: > getting a separate email per mailing list gets messy, as there are to > many. It does not get messy at all. I have been using mailing lists since the 1980s, and if you're having trouble you are simply not doing it right. I already explained that you can

Re: [nginx-user] Please DO NOT add [nginx] to subject

2018-10-13 Thread Ralph Seichter
On 13.10.18 10:16, Stefan Müller wrote: > Sure /nginx@nginx.org/ is fine for actively filtering, or for putting > everything into another folder, but every other mailing list I'm on > tags the list name in the subject. Then you are not subscribed the right mailing lists. ;-) Seriously, this

Re: Question on having multiple SSL cert for multiple domains

2018-07-04 Thread Ralph Seichter
On 04.07.2018 17:03, Danny Horne via nginx wrote: > Easiest way (in my opinion) would be to place the ssl configurations > with the appropriate server block Agreed. The SSL configuration parameters can either be added directly or via 'include' statements. Personally, I prefer using generator

Should listen *:443 bind to IPv4 and IPv6 ?

2018-06-13 Thread Ralph Seichter
Hi folks, I wonder if I missed an announcement for a change in nginx behaviour or if some local issue is causing me problems. The configuration server { listen *:443 ssl default_server; } used to bind to both 0.0.0.0:443 and [::]:443, but since I updated to nginx 1.15.0 it only binds to

Re: Unit 1.2 release

2018-06-08 Thread Ralph Seichter
On 07.06.18 18:07, Valentin V. Bartenev wrote: > Feature: configuration of environment variables for application > processes. My thanks to the Unit team, this new feature is going to save me a lot of headaches. -Ralph ___ nginx mailing list

Re: nginx-1.15.0

2018-06-05 Thread Ralph Seichter
Hello Maxim. > You are probably talking about nginx-unit project, right? You are right, my bad. I am waiting anxiously for that nginx-unit feature, and I have mistaken the announcement message. -Ralph ___ nginx mailing list nginx@nginx.org

Re: nginx-1.15.0

2018-06-05 Thread Ralph Seichter
Hello nginx team, a while ago it was mentioned here that the June release was planned to contain the new feature of passing environment variables to individual apps by using dynamic configuration data. I don't see this mentioned in the release notes? -Ralph

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

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

2018-04-29 Thread Ralph Seichter
On 29.04.18 17:06, Valentin V. Bartenev wrote: > You can set a path to Python virtual environment using the "home" > parameter of application object. Ah, that was the missing piece, thank you. > Please also note that your application callable need to be named > "application" (not "app").

Flask app with virtual Python environment in Unit 1.1 ?

2018-04-29 Thread Ralph Seichter
Hello, I have built a Flask application with a Python 3.6 virtual environment which I would like to run using NGINX Unit 1.1 instead of the usual "source venv/bin/activate; flask run". When I try to apply the following configuration { "listeners": { "*:5080": { "application":

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.18 17:12, Igor Sysoev wrote: > > I think it would be worth mentioning this particular detail in > > https://unit.nginx.org/installation/#configuring-sources . > > Almost the same example is here: > https://unit.nginx.org/installation/#configuring-php-modules I should probably have been

[SOLVED] Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.2018 16:40, Igor Sysoev wrote: > On Gentoo you should also use --lib-path Thank you, Igor! The following works on my Gentoo test server: ./configure php --config=/usr/lib64/php7.1/bin/php-config --lib-path=/usr/lib64/php7.1/lib64 I think it would be worth mentioning this particular

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.2018 14:49, Igor Sysoev wrote: >> $ ./configure php --config=/usr/lib64/php7.1/bin/php-config >> configuring PHP module >> checking for PHP ... found >> + PHP SAPI: [embed cli fpm apache2handler] >> checking for PHP embed SAPI ... not found > > Could you show the last lines from

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.18 12:52, Igor Sysoev wrote: > PHP package was built without embed SAPI support. > Otherwise it shows something like this: > + PHP SAPI: [cli fpm embed apache2handler] Thanks, Igor. I have rebuilt PHP 7.1 with the following USE flags: # /etc/portage/package.use/php dev-lang/php

Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
Congratulations to the whole team for reaching the release 1.0 milestone! I'm trying to build Unit on Gentoo Linux, and while module configs for Python and Perl work as expected, I'm struggling with the PHP module: $ ./configure php --config=/usr/lib64/php7.1/bin/php-config configuring PHP

Re: Why are my CGI scripts not executed like PHP ?

2018-04-07 Thread Ralph Seichter
On 07.04.18 16:18, Francis Daly wrote: > This mail is a bit long, but I try to cover the points raised in your > previous mails too. I appreciate you taking the time. Like I said, I am new to nginx. Years of using Apache caused me to expect certain things to happen in certain ways, and even

Re: Why are my CGI scripts not executed like PHP ?

2018-04-06 Thread Ralph Seichter
On 06.04.18 19:04, Richard Stanway wrote: > https://www.nginx.com/resources/wiki/start/topics/examples/fcgiwrap/ I altered my setup to use fcgiwrap. Since then, I keep getting "502 Bad Gateway" errors, with log entries like this: 2018/04/06 21:21:02 [error] 17838#0: *1 upstream prematurely

Why are my CGI scripts not executed like PHP ?

2018-04-06 Thread Ralph Seichter
On 06.04.2018 19:04, Richard Stanway wrote: > PHP-FPM is only for PHP. You'll want something like fcgiwrap for > regular CGI files. Seriously? But http://php.net/manual/en/intro.fpm.php states: "FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional

Why are my CGI scripts not executed like PHP ?

2018-04-06 Thread Ralph Seichter
Hello list, I am fairly new to nginx and now have stumbled across an issue I can't solve. I have successfully configured nginx on Gentoo Linux to run PHP applications (e.g. phpBB and phpMyAdmin) with php-fpm. As far as I understand, php-fpm should also be able to execute "regular CGI" in the