• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

nginx

  1. Can't run nginx automatically as user

    I have an nginx server configured to run the master service as a non-root user and it runs fine when I manually invoke it by running nginx -c /path/to/nginx.conf as the user 'nginx' but it doesn't work from my rc.conf script. I've tried to automate startup by writing it into an rc.conf script...
  2. Why nginx won't start?

    I usually put nginx and postgres in separate jails. But this time I put them in the host system. postgresql started. but nginx won't start. In /usr/local/etc/rc.d: -rwx------ 1 root wheel 2863 Oct 28 23:06 nginx -rwx------ 1 root wheel 3276 Oct 19 15:41 postgresql And in /etc/rc.conf...
  3. more_set_input_headers error with Nginx

    Good Morning all, I've used my google-fu and searched the forms but haven't found an answer to this error. I'm trying out nginx as a reverse proxy for Exchange and setup my config properly. I know for Linux "more_set_input_headers" requires "nginx-extras" or the "Headers_More" module in BSD...
  4. lebarondemerde

    Solved InfCloud (+ DAViCal + Nginx): can't make it work.

    Hi, I am completely lame in the web server subject. So, I have www/davical (perfectly?) working under www/nginx and I want to use InfCloud as webclient (I do not know any other indeed :rolleyes:), but I can't make that work. The InfCloud run, I can access its login page but not actually...
  5. ERR_SPDY_PROTOCOL_ERROR

    Hi, We've been getting net::ERR_SPDY_PROTOCOL_ERROR on mostly chrome when serving video files. In the beginning we thought that issue is with Chrome browser but after testing it further we found that video serving working perfect on Debian but error is only occuring on Freebsd. The way we're...
  6. daBee

    passenger_root with nginx

    Hi folks. I am installing nginx with passenger module, then installed rubygem-passenger. Upon trying to start nginx, I get the following: [Tue Jul 04 11:32:09 rich@neb ~] service nginx start Performing sanity check on nginx configuration: nginx: [emerg] unknown directive "passenger_root" in...
  7. Ependi Silalahi

    Nextcloud

    I need help. I have freebsd 11, nginx, PHP 71, and mariadb all latest have installed on my server. I tried to run nextcloud 12 but it wouldnt install. I have done this on linux and no problem. I put nextcloud root on /usr/www/nextcloud and created database and user but when tried to launch...
  8. Petr Fischer

    Solved Building nginx in a jail with ssl=base (without openssl port dependency)

    Hello, I am trying to build nginx from ports, but I don't want dependency to openssl from ports. I want "base" FreeBSD openssl. Default nginx package has no dependency to external openssl package. I am building in a jail. I have this in make.conf: WRKDIRPREFIX= /var/ports DISTDIR=...
  9. Sendfile(2) FreeBSD Netflix

    Hi, Hopes everybody is doing great here. My question was related to newly developed Sendfile(2) by Netflix specifically for Nginx on FreeBSD only. Is this already enabled in all FreeBSD systems or we need to recompile kernel to obtain sendfile(2) feature ? The more read is here ...
  10. Recommended multi-server FBSD hosting configuration

    I'm building out a hosting environment for my customers. I typically use Linux but FreeBSD offers some features of interest to my customers. I've used FreeBSD before (version 9), but my experience is limited. The hosting architecture I'd like to setup is (focusing on two servers): Server 1...
  11. unknownuser

    Host unable to load web pages from Jail - 408

    Hello everyone. I have a Windows 10 Workstation where I run a FreeBSD 10.3 Guest server over VMWare 12. This FreeBSD VM is meant to run multiple Apache/PHP/Wordpress instances on multiple jails. The FreeBSD guest is bridged through the HOST Ethernet NIC, where the HOST has the IP...
  12. Kqueue Filled !!

    Hi, We're seeing following warnings in Nginx error logs : kqueue change list is filled up while SSL handshaking Should we be worried about these warnings ? Can you please guide on how to fix it up ?
  13. IPTRACE

    nginx (or PHP?) sends wrong Location in HTTP header

    Hello! OS: FreeBSD 11-RELEASE Engine: nginx-1.10.1_2,2 App language: php70-7.0.12 CMS: Symfony 1.4 I have a problem with Location in HTTP header. Old server (Apache, PHP5) reply for all browsers: Location: http://www.my.web/ New server (nginx, PHP7) reply for all browsers: : http...
  14. Slow uploading speed

    Hi, We're facing quite slow uploading speed on FreeBSD-10.X both over HTTP (NGINX) & over FTP. Hardware is quite strong with 4x1Gbps LACP / 65G RAM / 12x3TB SATA . There's not much load over HDDs so i suspect that maybe tcp tuning has some problem. Here is my sysctl.conf...
  15. Troubleshooting Idrops in netstat

    I have a VPS server running FreeBSD 10.3-RELEASE-p4 and nginx so this might belong in the "Web Services" category. It contains three very low volume web sites that have been up for about three years, all listening on the same nginx server. I was tinkering with TLS and SSL ciphers on one of the...
  16. adams

    www/nginx 1.10.x "service nginx upgrade" results in "Address already in use"

    We use service nginx upgrade to do seamless restarting of NginX processes weekly due to high volume sites' having their NginX processes simply exit after a few weeks otherwise. I appreciate that this is a bandaid and shouldn't be needed, but it is. This spans dozens of machines and clients...
  17. blodan

    HOWTO: Stop nginx + php-fpm from truncating your stack trace/error message

    This one took me quite a while to figure out so hopefully someone will have use of this post. As you are here, you have probably already figured out that your stack traces/error messages are being truncated at 1024 characters/bytes and that the nginx recompile solution out there does not help...
  18. Lighttpd vs. nginx

    Howdy. I'm currently thinking about moving from apache to either lighttpd or nginx in the near future. The reason for this is simple, I just need a lightweight HTTP server that can easily be configured (ie, setting up virtual hosts, user directories, directory listings and such). I also require...
  19. Moviuro

    Nginx, single IPv4, IPv6, SSL/TLS, jails, one machine

    Hi all! I'm trying to build a good webserver that can serve over HTTPS only: My blog as static HTML (Jekyll, Hugo or whatever) Nagios Transmission Possibly some other web applications So far I have no encryption (nginx is just serving on port 80) and the following constraints: Only one IPv4...
  20. High interrupt rate!

    Hi, We've been using FreeBSD-10 for video streaming website where FreeBSD serves static content (mp4, jpg) over Nginx+php-fpm & performs FFmpeg encoding for users uploaded videos. Server is utilizing 2Gbps realtime port (2 x 1Gbps LACP) and under load we examined bit high percentage of...