Skip to content

Digitalocean step by step guide to nginx configuration

Solved Configure

Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

  • 2 Votes
    4 Posts
    174 Views

    Seems that before FreeNGINX, there was “Angie” - a strange name for a fork of Nginx, but here it is nonetheless

    https://angie.software/en/

    Features

    Core advantages over nginx include the following:

    Supporting HTTP/3 for client connections, as well as for proxied server connections, with the ability to independently use different protocol versions (HTTP/1.x, HTTP/2, HTTP/3) on opposite sides. Automatic HTTPS provisions TLS certificates using built-in ACME support. Simplifying configuration: the location directive can define several matching expressions at once, which enables combining blocks with shared settings. Exposing basic information about the web server, its configuration, as well as metrics of proxied servers, client connections, shared memory zones, and many other things via a RESTful API interface in JSON format. Exporting statistics in Prometheus format with customizable templates. Monitoring the server through the browser with the Console Light visual monitoring tool. See the online demo: https://console.angie.software/ Automatically updating lists of proxied servers matching a domain name or retrieving such lists from SRV DNS records. Session binding mode, which directs all requests within one session to the same proxied server. Recommissioning upstream servers after a failure smoothly using the slow_start option of the server directive. Limiting the MP4 file transfer rate proportionally to its bitrate, thus reducing the bandwidth load. Extending authorization and balancing capabilities for the MQTT protocol with the mqtt_preread directive under stream. Pre-built binary packages for many popular third-party modules. Server- and client-side support for NTLS when using the TongSuo TLS library, enabled at build time.

    Judging by these new features, this specific fork seems very active with updates once per quarter.

  • 14 Votes
    69 Posts
    5k Views

    @phenomlab

    Seems to be better with some scaling fix for redis on redis.conf. I haven’t seen the message yet since the changes I made

    # I increase it to the value of /proc/sys/net/core/somaxconn tcp-backlog 4096 # I'm uncommenting because it can slow down Redis. Uncommented by default !!!!!!!!!!!!!!!!!!! #save 900 1 #save 300 10 #save 60 10000

    If you have other Redis optimizations. I take all your advice

    https://severalnines.com/blog/performance-tuning-redis/

  • 4 Votes
    8 Posts
    593 Views

    @phenomlab
    Sorry to delay in responding, yes as i mentioned above, i had to remove my redis from docker and reinstall a new image with this command

    docker run --name=redis -p 127.0.0.1:6379:6379 -d -t redis:alpine

    and now when i test my ip and port on
    https://www.yougetsignal.com/tools/open-ports/

    the status of my redis port is closed. I think which to configure firewall in droplet digital ocean is a good idea too, and i will configure soon.
    Thanks for the help!

  • 4 Votes
    25 Posts
    1k Views

    @justoverclock Any update ?

    Thanks

    EDIT - marking as solved based on the below thread
    https://sudonix.com/topic/339/digitalocean-step-by-step-guide-to-nginx-configuration

  • 1 Votes
    3 Posts
    259 Views

    @Hari welcome to Grafana, the most confusing stats package there is !

    According to the guidelines, you certainly have enough RAM at 4gb

    https://www.plesk.com/blog/various/plesk-requirements-hardware-software/

  • Configure SMTP for Nodebb

    Solved Configure
    14
    5 Votes
    14 Posts
    782 Views

    @marusaky based on the work completed thus far (in relation to PM exchanges), I’m going to mark this completed. Sending email from the server itself works fine without issue, and DNS appears to be clean (valid SPF, DMARC, and DKIM records).

    It appears that only Gmail marks incoming messages from your domain as spam - perhaps because of the domain age, which there is nothing we can do to prevent this. Mail delivery to all other domains appears to work fine in al of my tests.

  • Digitalocean Ubuntu configuration

    Solved Linux
    33
    12 Votes
    33 Posts
    2k Views

    @phenomlab thank you! not me 🙂

  • Virtualmin Letsencrypt Renewal

    Solved Hosting
    13
    1 Votes
    13 Posts
    1k Views

    @gotwf said in Virtualmin Letsencrypt Renewal:

    I favor KISS engineering

    Then I think you’ll be able to appreciate this
    https://content.sudonix.com/keep-it-simple-stupid/