nginx

  1. M

    Need more guidance on FreeBSD as server for someone relatively new to networking(and FreeBSD).

    I have read around the forum for a bit and have a general idea of a decent structure for a server, let's use my own use case as an example. Static Site Jail: Nginx Reverse Proxy deploying mydomain.com, otherdomain.com. Git repository jail: Nginx + Cgit/other git implementation. File upload jail...
  2. S

    Running Caprover in guest os behind NAT

    Hello dear FreeBSD gurus. Not sure this topic fits in here, feel free to move the topic if it's not correct. What i'm trying to do is to install Caprover (caprover.com) on a guest os on my FreeBSD host machine. I'm doing virtualization with bhyve. This is not the relevant part though ;) So...
  3. T

    Has anyone actually set up nginx+uswgi+flask+sqlite in freebsd?

    Has anyone actually set up nginx+uswgi+flask+sqlite in freebsd? I asked someone to write some code using flask+python+sqlite. I installed freebsd13.2
  4. W

    Solved New pkg (1.20.8) missing nginx-full

    Hello all, After do an pkg update and pkg upgrade to version 1.20.8 my nginx-full got de-installed and not update. Then tried do pkg install nginx-full or pkg install www/nginx-full and seems this is not on the list. Error message: pkg install nginx-full Updating FreeBSD repository...
  5. K

    PF Two nginx instances running; eliminate one with PF?

    I've a FreeBSD box, nginx running as a proxy, forwarding HTTP/HTTPS requests to the nginx instance in the Jail, running on 10.0.0.3 within the OS. So, that practically means two nginx instances running on the server. I wonder if I could forward the 80/443 port requests DIRECTLY to the nginx in...
  6. Voltaire

    phpPgAdmin installation issues on FreeBSD 13.2

    I tried configuring phpPgAdmin on FreeBSD 13.2 in combination with PostgreSQL 13, nginx and php81-8.1.20 I configured the needed services based on very old tutarials I could find. All the required services start without problems. I probably have one or more subtle configuration problems that...
  7. A

    Nginx 1.25.1 ngx_stream_module component not upgraded synchronously

    Upgrade Nginx 1.25.1 nginx -t prompt 2023/06/21 15:17:43 [emerg] 779#100153: module "/usr/local/libexec/nginx/ngx_stream_module.so" version 1025001 instead of 1023002
  8. MsieurSVP

    Solved Nginx, Jail, Nextcloud : I Need Help !

    Hello from France ! I need your help to achieve my configuration qhat I'm trying to test : I want to securize my server with working with Jail. I have : a FreeBSD Host 13.1 (ip=192.168.1.120) with an nginx ; a jail (ip=10.7.16.101) with nginx, php-fpm for Nextcloud 26 in a subdirectory...
  9. V

    PHP-FPM and MYSQL in separate jail than nginx

    Hi, after I was able to setup a nginx reverse proxy in jail to serve traffic for other jails I am stuck at another point: Nginx+Mysql+PHP in one jail works perfect for one website(and probably for more than 1). But the point of jails is that we want to run one site or one application in one...
  10. A

    nginx and 'sites-available' folder

    Standard nginx package has the monolithic file nginx.conf. But when using nginx on Debian / Ubuntu etc., you will have some improvements, f.e. saving site configs into separate files in /etc/nginx/sites-available directory. Their soft links are in /etc/nginx/sites-enabled directory, and the main...
  11. A

    certbot can't found server block in external config files in nginx

    Freebsd 13.1, nginx/1.22.0, certbot 1.29.0 If I use and server block is in /usr/local/etc/nginx/nginx.conf cerbot install cert correctly When I move server block to separate files servers/domain.com.conf and use in main config certbot show My servers/domain.com.conf is Of course the...
  12. K

    Nginx: sendfile or aio on FreeBSD 13.1+ZFS?

    Greetings. Nginx states (Changes with nginx 1.21.5 - 28 Dec 2021): Change: now nginx always uses sendfile(SF_NODISKIO) on FreeBSD. So it seems, it uses "sendfile: on;" by the default on FreeBSD. Afaik, sendfile should be off for FreeBSD and ZFS, to avoid redundant data caching. I'm on ZFS...
  13. B

    FreeBSD 13 kernel panics from nginx (sendfile problem)

    Greetings, I opened a bug 264273 because I have two panics in 8 hours after the binary update from 12.2 to 13.0 from nginx calling sendfile. Any one else with a similar problem? Somebody suggested to disable sendfile and enable aio . Is this a suggested move or not? Thank you again, B.
  14. K

    About Nginx+HTTPS+SSL certs in Jails

    Hi everyone. I'd like to set two jails with each hosting a domain of mine, with HTTPS/TLS support on nginx. My case is; My Dedicated Server/Host IP: 134.42.22.11 (External Public IP Addr) (has also PF activated and running without Jails' support, anything with any jail, at the moment) Jail 1 -...
  15. K

    Nginx KTLS support on FreeBSD 13/13.1?

    Today did a pkg upgrade and my nginx updated to: nginx-devel-1.21.5_3 on FreeBSD 13, bringing support to KTLS. Tried to activate the KTLS within the kernel with command: kldload ktls_ocf then: sysctl kern.ipc.tls.enable=1 afterwards, I added; ssl_conf_command Options KTLS;" under SSL server...
  16. TomTheOne

    nginx-naxsi not working

    Hi all I'm new to FreeBSD, nginx and naxsi. I try to use the OS and the two applications to create a simple web application firewall to better protect a couple of websites i run. I have problems including the naxsi ruleset in nginx. Here is step-by-step what i try to do and where i face the...
  17. D

    Help with jail permissions

    Hello, I have a jail set up to test my nginx web server on my local machine and make changes to it before I push. However, I wanted to use a GUI editor from outside the jail to edit the HTML/CSS (which is the main reason I wanted to use a jail). I made perhaps a horrible mistake by recursively...
  18. Nick-6

    Recommended directory for website data?

    Checked hier and didn't see mentioning it. Internet says /usr/local/www is the one. I'd used /srv/domain.com in Linux. I'd like to know the proper and recommended directory for website data in FreeBSD. I'll install www/wordpress with www/nginx on my server. Thanks.
  19. F

    PF Apache + Ngingx reverse proxy

    Hi, guys! For a while I used for my whmcs setup composed by apache + mod_php as backend and nginx as reverse proxy. I was thinking i'm safe until someone with few proxies succeed to open enough connections and apache eaten whole amount of RAM (2GB). Any idea how to block this kind of...
  20. H

    nginx error flood /var/log

    Hello I have installed and online several jails, very basic, only static html, no php or any other backend software, they have worked for many months without problems, but I noticed this general error because just two or three days ago I started working to install php-fpm for a new site in its...
Back
Top