Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nginx]

Questions relating to Nginx, an open source Web Server and reverse proxy server.

0
votes
0answers
13 views

Sendmail configuration for Joomla ( Ubuntu 16.04 and nginx)

Currently freshly installed joomla ubuntu and nginx but have issues with sending test email ============ When i tried to use php mail × Notice SMTP connect failed https://github.com/PHPMailer/...
0
votes
1answer
14 views

Joomla Configuration File writing issue with Ubuntu 16.04 and nginx

I keep getting errors from joomla saying it can't write to. configuration.php An error has occurred. 0 Could not write to the configuration file I added recommended permissions to folders 755 and ...
1
vote
0answers
60 views

Nginx Reverse Proxy not redirecting?

Update I think it narrows down to this: For some reason the host name matters to Nginx when it's trying to figure out whether to proxy the request. If the host name is set to git.example.com the ...
1
vote
0answers
22 views

Cannot telnet port 80 remotely, nginx

MY problem is: I can telnet to port 80 locally, but not from another computer. The following is what I did: Disable firewall. $ufw disable Execute the following command: $netstat -tlpn |grep ...
0
votes
0answers
32 views

Nginx Log File records like “GET http://httpbin.org/get?show_env=1 HTTP/1.1” [closed]

After I started with Nginx, I have many log records like this: [01/Oct/2018:13:54:32 +0200] "GET http://httpbin.org/get?show_env=1 HTTP/1.1" 400 682 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) ...
0
votes
0answers
47 views

Ubuntu 18.04 with Nginx and Pagespeed

I have been looking for a way to install page speed on 18.04. There isn't any latest answer on Google with my desired result. Will someone please guide me. The one I have been following is on this ...
0
votes
0answers
15 views

Nginx+Gunicorn+Flask don't work on 81 port

I can't run my service on 81 port on VPS Ubuntu Server 16.04. /etc/hosts/: 127.0.0.1 localhost 93.38.139.10 test.com test # The following lines are desirable for IPv6 capable hosts ::1 ...
0
votes
0answers
50 views

Can't connect to MS SQL Server

I am trying to use Nginx+PHP7.2+MS SQL Server driver but it doesn't work. I have installed packages by this doc but apache2 installation (I need Nginx). And I've added extensions to /etc/php/7.2/fpm/...
1
vote
0answers
102 views

VirtualBox v 5.2.18 - Ubuntu 18.04.1 LTS - vboxadd-service and nginx not loading

I would like to ask for some support :) I'm still an Ubuntu newbie however I've been running an Atomic-Toolkit for some time and, so far, it's been working without any issues. I'm using it for all ...
0
votes
2answers
242 views

How Can I stop Apache2 on Ubuntu 18.04?

I Can't stop apache2. I want to use nginx, therefore,I want to remove/stop apache2 but I can't. I've tried all the methods on this Link , but when I refresh http://127.0.0.1/ i still see the apche2 ...
0
votes
0answers
8 views

Best location for the source file of a web app

I'm having an NGINX server, that I use in combination with Gunicorn to deliver a python web app. At this moment the python web app is under home/user_name, but I'm not sure if this is the best place(...
0
votes
0answers
32 views

Installing GitLab CE on Ubuntu 18.04 - Sign in page can't load resources

Background Information I'm trying to install gitlab ce on ubuntu 18.04. General installation steps that I took: installed and configured postfix. Tested to make sure it's working like this: https:/...
0
votes
1answer
64 views

Php7.1-fpm php.ini not changing at all

When I code this in my php file: echo php_ini_loaded_file(); The output is : /etc/php/7.1/fpm/php.ini Then I edit the php.ini sudo nano /etc/php/7.1/fpm/php.ini And change my memory_limit to ...
0
votes
1answer
79 views

Ubuntu 18.04 block countries access to my server (ssh & nginx)

Is there a way I can block entire countries by country code (such as RU and CN)? Currently I have a UFW firewall rule enabled for every IP that tried to do shady stuff (logging in on SSH, searching ...
0
votes
0answers
17 views

Botched my Nginx install, making it worse

having an issue. Trying to do Owncloud install and Nginx is not working. Followed directions, but I missed something is all I can come too. Here is what I have from my /etc/nginx/sites-enabled/defualt....
0
votes
0answers
34 views

Nginx not serving Etag on content even with gzip diabled

We've got a Django site being served through Nginx and uwsgi on a Ubuntu 16.04 server, and I need to get caching working for an API endpoint that serves images and other content to authenticated users....
-3
votes
1answer
63 views

Building nginx from source error [closed]

I try to build and install nginx from source, everything seems ok but when i try to config the nginx source before build Im getting error. Im using ubuntu 18.04.1 LT, my config command ./configure --...
2
votes
1answer
904 views

How to install PHP-FPM on Clean Install of Ubuntu 18.04 Server

I am trying to install a LEMP stack on a clean install of Ubuntu Server 18.04. I was able to get through installing everything except php-fpm. It does not appear to be in the package repository even ...
2
votes
1answer
89 views

apt-get upgrade didn't update PHP but updated its php modules

I performed sudo apt-get upgrade and was expecting to see that PHP version update from 5.6.30 to 5.6.37. To my surprise, php version didn't upgrade but its modules did. I still see 5.6.30 in ...
1
vote
1answer
111 views

Running multiple sites Nginx on Ubuntu 18.04

I'm beginner with Nginx (also using PHP 7.2) and I have no idea how to access multiple sites using separated folders. So as default folder I set /home/user/php;. There I have few folders named: ...
0
votes
1answer
91 views

Problems when using NGINX and SSL

When adding SSL certificate to the page and trying use command: This is the configuration I'm using: server { listen 80 default_server; server_name piotrzak.design; rewrite ^/...
0
votes
0answers
27 views

I have an Ubuntu 18.04 server with NGINX,MYSQL website, I want to add Email

I setup my website on a Ubuntu 18.04 server with Nginx, MySQL and i already used let's encrypt for the ssl certificate. Now that my website is up and running. I'm wondering how i can add email to my ...
1
vote
1answer
389 views

nginx 502 bad gateway for 1 minute after restart

Everything worked fine until I update PHP to 7.2 For a minute after server reboot nginx throws 502 error. Nginx error log says if listening to unix:/var/run/php/php7.2-fpm.sock: [crit] 671#671: *2 ...
2
votes
0answers
51 views

IREDMAIL - Install on Ubuntu with Existing Webserver - PHP,NGINX,MYSQL

I'm hosting my website on a VPS with an existing webserver configuration: PHP, NGINX, MYSQL. The first time I installed iredmail, I followed this tutorial. It ended up overwriting all my nginx/site ...
0
votes
1answer
334 views

Nginx starts to downloading index.php instead executing

At my hosting control panel I set up my server api for server name (let it be dev.domainname.com). dev.domainname.com config: server { listen 80; #listen [::]:80; root /var/...
0
votes
1answer
14 views

create link to a serve a website in nginx

I am wondering if it is possible to create link to serve a website ? I know that we can use : ... server_name 123.123.123.123; ... root /var/www/test; but is it possible to use something like: ...
1
vote
0answers
79 views

Why so many processes running on my Ubuntu Xenial (16.04) server?

I'm a newby server admin. In my server I have 4 website running on nginx. Sometimes it gets slow and I have to reboot the machine. Soon I will deploy websites for my clients and cannot afford to risk ...
1
vote
2answers
147 views

Installing any package problem

does anyone knows whats problem? i didnt install nginx but when i try bellow command or apt-get upgrade or alot other things... it get error which seems to be about nginx!! my ubuntu is 18.04 and i ...
1
vote
1answer
110 views

Unable to access Docker NGINX on 18.04 LTS

I'm running Ubuntu 18.04 LTS. > docker-version Docker version 18.06.0-ce, build 0ffa825 I run: > docker run --name my-nginx-1 -P -d nginx > docker port my-nginx-1 80/tcp -> 0.0.0.0:...
1
vote
1answer
65 views

How to install nginx/development on 14.04?

Until recently I've been using ppa:nginx/development but suddenly I can't install the nginx version from there anymore on 14.04. https://launchpad.net/~nginx/+archive/ubuntu/development also states: ...
0
votes
0answers
12 views

How to properly configure Nginx for a Rails application on Ubuntu 16.04

I have a rails app on my Ubuntu 16.04 server and was wondering how I'm supposed to configure the nginx files to get my app to work? Using: Passenger, Nginx, and Let's Encrypt on Ubuntu 16.04 My ...
1
vote
0answers
19 views

restrict a directory in Nginx

i need to restrict "upload" directory in Nginx server i tried this location ~ /uploads/(.*)$ { deny all; return 404; } and i have disabled it also it didn't work in both cases.
0
votes
0answers
169 views

Problems with adding the repository for certbot

I want to install Nginx together with Let's Encrypt on Ubuntu 18.04 and already installed this package: software-properties-common When I try to use the command: sudo add-apt-repository ppa:certbot/...
0
votes
0answers
22 views

Nginx Configuration for multiple codeignitor site under same tld

I have a site nginx.asdf.com:8082 which contains a CMS built using PHP (CodeIgnitor framework). I also have a similar site running under nginx.asdf.com:8082/ghjkl/. My Nginx configuration works for ...
0
votes
0answers
19 views

REST service not accessible on Ubuntu 18.04

I have a REST service running on a Ubuntu 18.04. It fails to respond to outside requests. NginX pages hosted on port 80 are accessible, and the service requests are found in NginX log file. I then ...
0
votes
0answers
70 views

Configuring nginx web services for outside access

I have two web services created with ngrest and pistache. They are both inaccessible from another computer when using 192.168.1.XXX:port. Adding listening port to /home/USERNAME/nginx-build/nginx-1....
0
votes
1answer
284 views

Ubnt 16.04 - NGINX - LetsEncrypt - 502 Bad Gateway for first time users of website

I set up a web server for two Wordpress websites. Installed NGINX, PHP, Mariadb, certbot for SSL, etc. The problem I´m facing is that if I visited the website earlier than Certbot´s config, I can ...
1
vote
1answer
177 views

NGINX virtual subdirectory is serving PHP files as downloads

My server answers to the following virtual subdirectory paths: www.domain.com/us www.domain.com/ca www.domain.com/fr-ca www.domain.com/spa Each of these is an alias for www.domain.com. If I attempt ...
0
votes
0answers
36 views

unable to locate package and updation problem [duplicate]

When I try to install any package, it shows as E: Unable to locate package nginx So that I updated as apt-get update.then it shows as Some index files failed to download. They have been ignored, or ...
0
votes
0answers
53 views

Configuring nginx/ngrest on Ubuntu virtual machine

I have a Ubuntu 18.04 VM running on Windows 7. The VM is configured for Bridged Adapter from Virtual Box. It can go online, has the same IP scheme IP with the local network, and can be pinged from ...
0
votes
0answers
43 views

Nginx in default could never return 200 OK

I want to know the best practice for Nginx setup in the case bellow. I created the environment of nginx(1.15.1) on ubuntu(18.04) on docker(18.03.1-ce) on lxc(2.21 security.nesting=true) on linuxmint(...
0
votes
1answer
168 views

nginx wont run php in html

I have been trying for weeks to get Nginx, and php7.2 to work together. I want to write html files, with embeded php tags. php files work splendidly. HTML files work as well. but when I try to embed ...
0
votes
0answers
277 views

How to configure docker registry with nginx

I configure a private docker registry server to store images. I am Ubuntu 18.04. I have a problem in the interaction between the nginx container and the registry container. Very slow speed when ...
0
votes
0answers
204 views

nginx/php-fpm file uploading issues

I'm running multiple Wordpress sites on a single Ubuntu VPS with nginx. Just today I am no longer able to upload media files on any of the sites on this server. I can see the progress bar move up to ...
0
votes
0answers
125 views

I'm not able to install nginx 1.15 with PageSpeed module

I'm running nginx 1.14 on Ubuntu 16.04 and I just installed 1.15 following the instructions from this Google page. nginx -v still outputs v1.14 question is...how do I enable the new version with ...
0
votes
1answer
242 views

Can't increase upload_max_filesize

I am having problems increasing my size limit to upload files into my wordpress site. I am running 18.04 on a vps server with with Nginx, MariaDB and PHP-FPM. I checked php by making a file to call ...
0
votes
0answers
28 views

Does this sever have rtmp?

I have an Nginx server running, with php, and I would like to keep it running, but I am also looking at setting up an rtmp streaming service. How can I tell if the nginx installation already has an ...
0
votes
2answers
454 views

Apache and Nginx Crashing, Port 80 Being Used, Can't Get Either to Start/Stop/Uninstall

I've been trying to set up a dev environment on a new Ubuntu 18.04 installation, and I'm running into an issue with Nginx and Apache. First, I installed Apache2. Everything seemed in order. Then I ...
0
votes
0answers
116 views

I got an error message when I execute the command 'sudo nginx -t '

I got an error message when I execute the command as root: nginx -t Error: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied); And There is nothing happend when I execute the ...
0
votes
1answer
61 views

php -v still shows old version

So I am trying to updated from 7.1.1 to 7.1.17. I ran: sudo apt-get install php7.1 and got 7.1.17-1+ubuntu16.04.1+deb.sury.org+1 but when I run php -v in the terminal I get PHP 7.1.1-1+deb.sury....