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
    176 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.

  • 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.

  • 4 Votes
    10 Posts
    598 Views

    @phenomlab thanks for sharing, after four or five months I will migrate to DO 2 or 4gb RAM droplet. 👍

  • nginx can't start again

    Moved Solved Configure
    20
    2 Votes
    20 Posts
    928 Views

    @elhana-fine Yes that will happen of of course if you still choose to restart the NGINX service after making a change and the test fails. The test on it’s own will state the error and the line number allowing you to fix that first 🙂

  • nginx seo urls

    Solved Configure
    15
    3 Votes
    15 Posts
    848 Views

    @riekmedia that looks fine to me