I tried with below config server { listen 3000; # Where other service is listening #listen 16000; # Where other service is listening server_name http://54.205.97.56:3000 root /var/www/localhost/pv4azure/templates; index index.html index.htm; ssl on; ssl_certificate /etc/nginx/apache.crt; ssl_certificate_key /etc/nginx/apache.keby sachin.tiwari50 - Other discussion
Then how should I run website on https using nginxby sachin.tiwari50 - Other discussion
Hi All, I want to run my website on https using nginx I tried with following way app.js var express = require('express'); var app = express(); app.get('/', function (req, res) { res.send('Hello World!'); }); var server = app.listen(3000, function () { var host = server.address().address; var port = server.address().port; console.log('Example app listening at httpby sachin.tiwari50 - Other discussion
![]() |
![]() |
![]() |
![]() |
|