Welcome! Log In Create A New Profile

Advanced

Serve more than 4 HTTPS projects by Nginx, with one IP

October 03, 2023 03:37PM
I have Nginx installed on AlmaLinux, I have more than 10 projects serve by Nginx, I go to this directory
[code]

/etc/nginx/conf.d/

[/code]

I made 10 .conf files there. each projec listen on different ports, 1000, 10002,10007,8080,8181,10003,10004, one of my project listen on HTTP, for this HTTPS project I made self sign certificate and in conf file I put location of self sign cetificate.
Yesterday I run mattermost on this server, mattermost listen on port 8065.
My team leader want me run mattermost on HTTPS mode.
All 10 projetcs use IP for example http;//10.10.10.15;10003 or http://10.10.10.15:10004 and ...
so I can use only IP and I do not have FQDN,
How I can do this with Nginx?
I want serve another HTTPS on this server by Nginx.
I want run more than 4 projects by HTTPS.
Subject Author Posted

Serve more than 4 HTTPS projects by Nginx, with one IP

mfaridi October 03, 2023 03:37PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready