Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-07 Thread Miguel C
On Wed, Jan 6, 2021, 22:31 Phoenix Kiula wrote: > Thank you Miguel. But you misunderstood the question. This suggestion... > > > >> nginx blog as a great guide on it though >> https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/ >> >> > > > ...misses the very first question in this th

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-06 Thread Miguel C
ws all these modules being installed? Couldn't find it. Thanks! > > > On Tue, Jan 5, 2021 at 8:20 PM Miguel C wrote: > >> AFAIK you would need the modules built with the same nginx version, so if >> they are not av

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

2021-01-05 Thread Miguel C
AFAIK you would need the modules built with the same nginx version, so if they are not available via packages I'm afraid you still need to build... On Wed, Jan 6, 2021, 00:27 Phoenix Kiula wrote: > We have a limitation on the server to only install Nginx via DNF. This > currently (as of this dat

Re: nginx subsite configuration not working

2020-08-02 Thread Miguel C
Looks like it's a Drupal (php) site just pointing it to index.php won't work you need to have a back end for PHP I.E. php-fpm and setup nginx to use fastcgi proxy. The exact config might be different depending on how urls are handled in Drupal, I'm more familiar with WordPress, but I found thi

Re: Nginx Directory Autoindex

2018-03-01 Thread Miguel C
there's no need to install a 3rd party moduel :) Melhores Cumprimentos // Best Regards --- *Miguel Clara* *IT - Sys Admin & Developer* On Thu, Mar 1, 2018 at 11:54 AM, Luciano Mannucci wrote: > On Wed, 28 Feb 2018 23:30:35 + > Miguel C

Re: Nginx Directory Autoindex

2018-02-28 Thread Miguel C
I'm unsure if thats possible without 3rd party module... I've used fancyindex before when I wanted sorting. On Wednesday, February 28, 2018, Luciano Mannucci wrote: > > Hello all, > > I have a directory served by nginx via autoindex (That works perfectly > as documented :). I need to show the c

Re: Redirect http:8080 to https:8443

2017-06-05 Thread Miguel C
That should work, whats the output you get using curl or httpie. the same config works fine for me: $ curl -I http://127.0.0.1:8080 HTTP/1.1 301 Moved Permanently Server: nginx/1.10.0 (Ubuntu) Date: Mon, 05 Jun 2017 12:45:13 GMT Content-Type: text/html Content-Length: 194 Connection: keep-alive

Re: Nginx to real time minifying

2016-09-02 Thread Miguel C
Maybe this: https://github.com/mrclay/minify/blob/2.x/README.md Note that I never used in in production, since I run mostly WP sites, plug-ins worked best so far. One awesome alternative is ngx-pagespeed it's a pity it's not supported on FreeBSD though but on Linux server pagespeed will handle th

Re: Forwarding HTTPS to VM's HTTPS...

2016-02-16 Thread Miguel C
On Tue, Feb 16, 2016 at 1:14 PM, Miguel C wrote: > I have similar setups with freebsd jails... usually one the jails is a > 'frontend proxy server' which I'm guessing is what you're aiming at but > with linux containers > > Make sure the firewall allow tr

Re: Forwarding HTTPS to VM's HTTPS...

2016-02-16 Thread Miguel C
I have similar setups with freebsd jails... usually one the jails is a 'frontend proxy server' which I'm guessing is what you're aiming at but with linux containers Make sure the firewall allow traffic from the frontend to backends which could be other nginx servers or just php-fpm it self dep

Re: Why is NGINX serving a 404 here?

2015-08-30 Thread Miguel C
Just a quick look but I noticed this: `root /var/www/index.html` I guess you wanted `root /var/www/` !? Also looking at the logs should probably hint on why the 404 is happening, but I'm guessing its realted to the above line :) Melhores Cumprimentos // Best Regards ---

Re: try_files setup

2015-07-17 Thread Miguel C
Add this to the php location try_files $uri =404; Melhores Cumprimentos // Best Regards --- Miguel Clara IT - Sys Admin & Developer On Fri, Jul 17, 2015 at 4:40 PM, Artur wrote: > No one has any idea about the solution for this problem ? > > -- >

Re: Rewrite rules in nginx config

2015-07-17 Thread Miguel C
On Fri, Jul 17, 2015 at 4:12 PM, dr.net wrote: > Hi all, > thank's to accept me in this forum. > > I'm a newbie... I have a problem with a rewrite rules that I imported from > apache > > This is my code > > > index home.php index.php; > location / { > rewrite ^/(.*)?$ /categories.php?cat=$1; > rew

Re: Static content

2015-06-30 Thread Miguel C
You said it yourself: "And, the above configuration is expecting static content on the server where NGinx is installed, when an request is made. But, I expect the static content to be expected from remote server." Nginx expets the file to be on the server, and that's how it works... you need to ei

Re: Static content

2015-06-30 Thread Miguel C
On Tue, Jun 30, 2015 at 12:19 PM, smsmaddy1981 wrote: > Hi, > I have NGinx 1.8.0 installed successfully and configured NGinx... with > upstream servers provided. NGinx and Services are deployed on separate > machines. Now, when an request is made via NGinx, the service is invoked > resulting in UI

Re: Not listing proxy_pass port 8009

2013-07-23 Thread Miguel C.
The log tells you much... although has was already said the problem is that something's wrong with whatever should be listening on those ports... Openerp is one of those and probably is not running or at least it's not listening on the port specified in nginx configuration... In any case the p

Re: Not listing proxy_pass port 8009

2013-07-23 Thread Miguel C.
You can't browse to the URL because there is no web application running on port 8009. You tell nginx to listen on port 80...so far all good. But then you are telling nginx to proxy_pass the request to a diferent port... So the question is more: is this really what you want? If so... may I ask