All Questions
Tagged with ubuntu-16.04 nginx
184
questions
0
votes
0
answers
61
views
ASP.NET Core app does not redirects to ssl port on nginx + ubuntu
I am trying to host an asp.net core app to nginx as on docs. The app has 2 ports one http and other https. The SSL certificate is provided on nginx and not on appsettings.json.
The appsettings.json ...
0
votes
0
answers
1k
views
Deployed laravel website on digital ocean showing blank screen and attempting to load css and js files over https
I followed through one of the tutorials on deployment of laravel app here https://www.techalyst.com/posts/laravel-hosting-with-digital-ocean-droplet-step-by-step-tutorial and was able to deploy my ...
0
votes
1
answer
1k
views
How to debug NGINX Configuration
I have a NGINX config file where by I have added a new server block to map to a new NodeJS app I have deployed running on 8082. Initially with only the first server block, It was working, but now with ...
0
votes
1
answer
4k
views
PHP in Nginx being downloaded instead of rendered?
I'm sure this is kind of a duplicate question, but I've tried googling this to no avail. I'm trying to make a site that will just run a php script on a button press. I'm trying to get php to work ...
0
votes
0
answers
1k
views
Nginx upgrade from 1.16 to 1.18 failed due to module discrepancy on Ubuntu 16.04
I installed Nginx 1.18.0 using this guide, however, the install failed with the following error:
nginx: [emerg] module "/etc/nginx/modules/ngx_http_dav_ext_module.so" version 1016001 instead ...
2
votes
0
answers
110
views
How can you modify nginx config file to work 2 projects on different platform?
I have a node project hosted with Nginx on an AWS server(Ubuntu). Now I want to deploy a PHP project in a folder of that project. Is it possible to do so?
Example:
My node project is on the domain - ...
2
votes
2
answers
12k
views
docker nginx port 80 permission denied on ubuntu 16
My host machine is on aws lightsail ubuntu 16.
Everything working working in my local machine but on aws ubuntu 16.
I facing the error: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission ...
1
vote
2
answers
446
views
Using sudoers to restrict script files for www-data? (nohup)
I am trying to invoke a bash script requiring sudo upon receiving a web service call using FCGI Wrap and NGINX.
I have two scripts, one calling the other. The 'outer' one is meant to be called by the ...
2
votes
2
answers
2k
views
Phpinfo() shows old PHP version after update on NginX
After updating the PHP version on my digital ocean droplet running on Ubuntu 16.04, the PHP version my web server uses is still stuck on 5.6.
I have run commands to set alternatives and tried a couple ...
1
vote
1
answer
1k
views
Nginx user change causes blank screen on Chrome and 200 error
My main nginx.conf file had user set to nginx like so:
user nginx;
I am looking to switch the user to the default www-data user but running into issues. If I change the user in the ...
1
vote
0
answers
2k
views
How to block visitors from particular country with nginx and GeoIP Module
I want to block a particular country's visitors to access my website www.mainwebsite.com through Nginx and GeoIP Module.
First I tried on www.test.com. What steps I followed on test website,www.test....
0
votes
0
answers
225
views
Redirect IP:Port to Domain Name
I have an IP address with port no as 45.45.45.45:8069, I am trying to redirect this to domain name example.com, currently, the website is accessible through IP address. I have used the following code ...
1
vote
1
answer
3k
views
nginx redirect with a subdomain and naked domain
I am attempting to figure out a redirect for my domain in my nginx config. I have these three domain names:
domain.com //points to server 1
www.domain.com //points to hubspot server 2, no a record to ...
0
votes
0
answers
539
views
504 Gateway Time-out nginx, nodejs
Nodejs (express) server is hosted on Ubuntu 16.04. Using nginx as reverse proxy many sub-domains are pointing to same sever. I have integrated payment gateway which after successful transaction ...
0
votes
1
answer
2k
views
Fix Ubuntu 16 sweet32 vulnerability
While doing PCI scan our ubuntu16 web servers with apache and nginx has marked failed against Birthday attacks against TLS ciphers with 64bit block size vulnerability (Sweet32).
THREAT:
Legacy ...