nginx

  1. H

    file_get_contents command does not work

    Hello everyone, first of all, I apologize to everyone for translation errors I started doing research to extract data from websites and found some documents and run them on my local host, then I uploaded the code to my server, but the data did not come pkgs: nginx-1.20.0_1,2 php80-8.0.6 my...
  2. tuxador

    jails DJANGO + postgres + NGINX in a jail Best practices

    Hi, i am setting up for local deployment a django app in a desktop running FreeBSD12.2. Django is installed within a jail using ezjail. I have a couple of questions for the simplest and safest way to put it in production in a local network. 1- Is it simpler to run postgresql in the host and...
  3. T

    FreeBSD + NGINX + Varnish - limit of processed requests.

    Hi! I've one issue: NGINX + VARNISH wrk -c 9500 -t 16 -d 15s -H "Host: example.com" -s request-only.lua https://example.com Running 15s test @ https://example.com 16 threads and 9500 connections Thread Stats Avg Stdev Max +/- Stdev Latency 372.92ms 388.82ms 1.91s...
  4. R

    Why I can't use a Load Balancer configured in Apache ?

    Hello everyone, as you can see in the title, I'm having some trouble trying to make a load balancer on one of my FreeBSD servers. I don't know why but the configuration that I'm giving to apache looks fine, because it's giving me a "syntax ok" when I restart the service, but asks me if the...
  5. jjbigorra

    NGINX on several jails or on host?

    Hey guys, this is my first post here, I am hoping I respect all the rules of this wonderful forum. I am setting up some services, moving from Ubuntu to FreeBSD in my company. We have 3 environments: - Test: all services in one server - Acceptance: Database and Redis in one server, rest of...
  6. kel

    new article on nginx, php-fpm, and mysql 8 on FreeBSD 12 for Wordpress hosting

    Hi fellow enthusiasts, I wrote a short article on securing a FreeBSD 12 web server with nginx, php-fpm and mysql 8 by focusing on website isolation. Specifically, the goal was to create different php-fpm pools for each nginx virtual server, with them sharing a unique socket for each website. In...
  7. Wamphyre

    BeastNgine: Engintron inspired web server stack for FreeBSD

    Hi, After 2 years of slow work, testing and debugging, today I present my project, BeastNgine. BeastNgine is an Engintron inspired implementation of Varnish, Nginx, Brotli, php-fpm, certbot and modsecurity for FreeBSD. With BeastNgine, you can simply deploy a complete, full blown and ready...
  8. Trigex

    Setting up "The Lounge" web IRC client in a Jail

    After quite a bit of playing around this setup for The Lounge (My first production-deployed jail!), I think I've got something fairly solid built up! Here's a little guide to reproduce what I've done: Install sysutils/ezjail on your target host machine, if you haven't already and go through the...
  9. spag

    Solved [www/nginx] nginx/1.16.1 ngx_http_image_filter_module - load error

    Hi, I have a problem recently: nginx: [emerg] dlopen() "/usr/local/libexec/nginx/ngx_http_image_filter_module.so" failed (/usr/local/libexec/nginx/ngx_http_image_filter_module.so: Undefined symbol "gdImageCreateFromPngPtr") in /usr/local/etc/nginx/nginx.conf:5 Any Idea how to fix? Thanks.
  10. P

    how to do a freebsd or a linux distro with an integrated web server

    I don't know if it's in the right category, but I can't find any material explaining how I can make my own linux or freebsd distro that comes with an integrated web server and an html page by default within var / www
  11. R

    Redmine: How to setup and get it running in NGINX?

    Hi, I installed www/redmine but cannot get it up and running in NGINX. The documentation that I found on this forum is quite outdated. I am using FreeBSD 12.0. Can somebody help me out? Best Regards, R
  12. daBee

    Passenger Installs Twice

    Here is the current error involving Passenger: You are currently validating against Phusion Passenger 5.3.4, located in: /usr/local/lib/ruby/gems/2.5/gems/passenger-5.3.4/bin/passenger Besides this Passenger installation, the following other Passenger installations have also...
  13. daBee

    nginx Passenger Shell Logins && Associated Errors

    Hi folks. I hope this is the proper place for this thread. I have an nginx/Passenger/Sinatra situation. I've sent over a website to my server, and nginx has no user set. I've been told NOT to run it as root, but that's been highly disputed and it's never a clear answer. So because of...
  14. timypcr

    Syntax error after ap24-mod_rpaf2 update

    Anyone here use the Apache module mod_rpaf2 to pass the IP's from an nginx proxy so the back end apache server logs the correct IP of web site visitors? This has been working great for over two years; until I updated both Apache (apache 2.4.33 ) and ap24-mod_rpaf2 to version 0.8.4 After the...
  15. daBee

    nginx kill nginx.pid

    Hi folks. Other confusion with nginx. I'm trying some regular log rollovers and want to kill the process. I have read that after moving and renaming my nginx.log, I want to do this: kill -USR1 $( cat /var/run/nginx.pid ) That is the proper location of the pid file. The kill stops the...
  16. daBee

    nginx Permissions Clarification

    Hi folks. My workstation is a Mac (El Capitan), and I have a FreeBSD box on version 11.1 Release, running nginx on both. Both have the user commented out, yet I continue to get errors on the following commands on the FreeBSD box: $ nginx -t nginx: the configuration file...
  17. Wamphyre

    Weird trouble with Nginx/Apache reverse proxy on Jail.

    Hello. I'm experiencing a strange problem in my FreeBSD 11.1 jailed web server. 4 hours ago I needed to replace the hard drive of my home server, because was broken and I reinstalled FreeBSD with exactly the same config before hard drive change, where the jailed server was doing the work so...
  18. larynx

    Log file encoding changing from ASCII to Binary

    I'm running Fail2Ban 0.10.1 on FreeBSD 11.1-RELEASE with Nginx running inside a jail. I have Fail2Ban check the Nginx error log file for suspicious activity but the Fail2Ban log file shows a message saying it can't parse some of the lines in the Nginx log file because they're not encoded...
  19. R

    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...
  20. I

    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...
Back
Top