All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Need equivalent .htaccess rule in apache just like nginx so I can get everything in URL

I have a VPS where I am using nginx and uses following to do URL rewriting. location / { try_files $uri $uri/ /index.php?$args; } Then I simply go to index.php and use the following code to get ...
Frank Martin's user avatar
0 votes
0 answers
87 views

why is docker not responding to apache2 port 443 proxpass but fine on port 80?

I have an Azure VM which has an apache2 running with the following configuration, <VirtualHost *:80> ServerName .com ProxyRequests On ProxyPass / http://127.0.0.1:...
Majid Khan Mohmand's user avatar
0 votes
0 answers
97 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
0 votes
0 answers
35 views

Server Performance experience share

I would like to know your expertise for high traffic site to choose a sever with backend. I am familiar with PHP, NodeJS and Go programming languages. Also these days more popular HTTP servers are ...
Ind's user avatar
  • 101
0 votes
0 answers
128 views

Slow server performance due to Google Bot and Ahrefs Bot

I have a VPS server with 64 CPU cores and 128 GB RAM running on Debian. I have noticed that Google Bot from IP address 66.249.66.0/24 and Ahrefs Bot from IP addresses 54.36.148.0/24 and 54.36.149.0/24 ...
Jakub Čuřík's user avatar
0 votes
0 answers
2k views

Nginx upstream wss proxy SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading)

What I need is Client <--wss---> nginx <--wss--> server I am doing a wss proxy, I have already got it working on Apache but I want to switch to nginx now here's the apache config: <...
Steve Moretz's user avatar
0 votes
1 answer
101 views

Nginx static images are not caching

I have a Magento website that is running on apache2 and the frontend is in PWA and running on Nginx and I'm using Cloudflare. Now want to cache the images but it's always showing BYPASS. Apache ...
Arunendra's user avatar
  • 101
0 votes
0 answers
43 views

Which web server can return this page with empty html tags ? Cloudflare / Nginx / Apache

I am using a monitoring tool that constantly checks server status, and sometimes it gets this empty tags reply. The monitoring service doesn't give me more info, like status code. <html><head&...
adrianTNT's user avatar
  • 1,139
0 votes
1 answer
280 views

nginx proxy to apache in local enviroment avoid error 504

Hi guys I have a setup where I use Nginx as entry point for my HTTP request on port 80 and then I make a proxy to port 8080 where Apache is running a virtual host with PHP7.4 + MySQL running on ...
Minos Framework's user avatar
0 votes
3 answers
733 views

CGI scripts: when can you return a document, instead of an HTTP response?

Script 1 below is bash, and is at https://example.com/cgi-bin/test. It produces the output 'Under construction' when fetched. It echos Status and Content-type headers, and some HTML. If I instead try ...
QF0's user avatar
  • 191
0 votes
1 answer
86 views

How can I port an Apache RewriteCond and RewriteRule to ngnix?

I have to convert an Apache reverse-proxy configuration that uses RewriteCond and RewriteRule, to Nginx. How can I convert something like this to nginx configuration? (this is in the main/only <...
Robert Campbell's user avatar
0 votes
1 answer
3k views

How to pass through a Nginx reverse proxy to IIS and Apache

Ive been dealing with this scenario for a while and a can not find the error or the config that gets me to this: I have one domain example.com and several subdomains (app.example.com, test.example.com ...
Un tipo Random's user avatar
0 votes
1 answer
39 views

nginx doesn't properly route to webapp and omitting path

I am currently configuring a nginx reverse proxy. The docker instance of nextcloud is available on Port 8891 server { listen 8888 ssl http2; ... location /nextcloud/ { proxy_pass http://0.0.0....
0x45's user avatar
  • 101
0 votes
0 answers
257 views

Nginx equivalent for apache mod_rewrite rule

My script is hosted on centos 7 apache server, with below htaccess: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> ...
ktiwari's user avatar
2 votes
1 answer
460 views

Wordpress served by nginx under non-root url

I'm trying to move my server from apache to the Nginx starting with a blog. The blog is only a part of the website and should be available under /blog/admin (I'm using WordPress only as a backend). In ...
user3193620's user avatar
-1 votes
1 answer
86 views

Unable to get subdomain to connect to MariaDB

So far I can reach the DB from the main domain lets say example.com but connection from the subdomain lets say portal.example.com, don't work. I am currently running Nginx & Varnish & Apache ...
Sam's user avatar
  • 1
0 votes
1 answer
3k views

Zabbix server port 10051 not listening

I have a Zabbix agent and a master server. In both servers, the port 10050 is working fine but unable to connect the Zabbix agent to the master server because the port 10051 is closed. I have seen the ...
iuatsj 's user avatar
1 vote
1 answer
81 views

Nginx behind Apache

I have an apache who is hosting websites one is 000-default.conf for www.domain1.com another one is domain2.conf for www.domain2.com and has a config like this <VirtualHost *:80> ...
peachy__kat's user avatar
0 votes
0 answers
355 views

How to reverse proxy to a container then through domain name to access the site

I set up a WordPress site with docker composer via Portainer. The site can access by the IP address. How can I set reverses proxy and access the site by domain? I tried to put the proxy block in the ...
Kevin wang's user avatar
0 votes
0 answers
43 views

Apache limits errors when scalling with many domains for Saas app

**Hello everybody , I making SaaS app like Shopify and ecwid , user create store within 10 mins , once he register he get automatic subdomain with SSL and can add products and payment methods, ...
mo saleh's user avatar
-4 votes
1 answer
268 views

Does every application needs web server? [closed]

Server is just a machine with web server software(like nginx, apache etc). When we host a website in hosting services like GoDaddy or cloud services, does they provide web server software for every ...
vinter's user avatar
  • 97
0 votes
1 answer
610 views

setting up reverse proxy to google.com while maintaining prior webservice hosted on apache

server { listen 80; server_name example.com; location / { rewrite ^/(.*)$ https://$host$1 permanent; } } server { listen 443 ssl; server_name example.com; ...
Sayaman's user avatar
  • 187
2 votes
1 answer
4k views

Clear cache on nginx server

I have a server, when I'm developing a website on my local machine I want to upload it to test it on the production server, however I'm facing a problem from the mobile phone I still get the old ...
Buildermine's user avatar
0 votes
1 answer
2k views

Nextcloud on apache behind nginx reverse proxy returns 404 on index.php redirects

I'm having issues with an nextcloud instance running on apache (+php-fpm) as a docker container and my nginx reverse proxy. When I open the Nextcloud URL nginx proxies the request to apache and apache ...
anghenfil's user avatar
0 votes
1 answer
187 views

"FetchError no backend connection" error when Apache is running

[centos@ip-172-35-25-65 ~]$ varnishlog 0 CLI - Rd ping 0 CLI - Wr 200 19 PONG 1635280998 1.0 0 CLI - Rd ping 0 CLI - Wr 200 19 PONG 1635281001 1.0 ...
Sayaman's user avatar
  • 187
0 votes
1 answer
180 views

Why is Server working Slow and bandwidth chokes

We have a cloud server. We have load balancer of 3 server and one public IP. We have master slave for DB Connection. The application serves some data to users, the users post some data and some files ...
Akki's user avatar
  • 3
0 votes
0 answers
190 views

Varnish probe thinks web is down if he gets 103 http code

This is my first post in this forum and I will say that I am sorry for all the mistakes that I will make in this post. This is a desperate call for help as I was not able to find any kind of ...
Micu.s Electrobang's user avatar
0 votes
1 answer
1k views

PHP website not working as expected in NGINX but working in Apache

Hi I just created a link shortening app. But when I try to redirect a shorten link to the full URL which is shared on Facebook it is not working as expected. for example : https://bowa.me/c8443 this ...
Riyas Tp's user avatar
2 votes
1 answer
1k views

Misdirected Request HTTP 421 Error when using Nginx but not Apache as reverse proxy

For a specific use-case, I want to put a reverse proxy (RP) in the cloud in front of an application already packaged with another RP listening to HTTPS only. I don't have any access to the ...
xenom's user avatar
  • 41
0 votes
1 answer
576 views

Do you need Nginx / Apache for deploying an API?

To my understanding, Nginx/Apache are used to a) serve static content like HTML pages and b) balance requests between servers. I am programming an API in Go. It doesn't need to serve static content ...
Jan Berndt's user avatar
1 vote
1 answer
4k views

Create subdomains under a single IP/domain in an Nginx Reverse Proxy?

I'd like to be able to create a subdomain in Nginx Reverse proxy. As it stands right now, I have a properly configured and usable reverse proxy that resolves properly. The problem arises when I try to ...
opal vaults's user avatar
0 votes
1 answer
335 views

How to configure nginx better to reduce redundant system calls when APIs are called?

I have a Laravel application running in production, and there are a few APIs that used a lot. Something was creating a bottleneck and it used to stall our servers (3 with Load Balancer). After ...
Rohan's user avatar
  • 135
1 vote
1 answer
2k views

Convert Apache2 configuration to nginx configuration

I have RHEL 6 with apache/httpd (v2.2) configured to handle two different path of WordPress: FOO path: /var/www/html/FOO/ BAR path: /var/www/html/BAR/ We plan to move to a new machine running RHEL 7 ...
Mohamed ElHarery's user avatar
1 vote
0 answers
409 views

Getting issue in running NGINX

I have an AWS Lightsail instance and running NGINX and apache on different ports. (Apache on 8080 and Nginx on 80). It was running fine but from the morning the Nginx has stopped working and on ...
Pushprajsinh Chudasama's user avatar
1 vote
1 answer
2k views

Move nextcloud to sub url but put a public folder at root (with nextcloud + nginx + nginx-docker-gen all in docker)

I have nextcloud running on https://cloud.museumsstrasse.at but since we will use nextcloud primarily for opening data to the public I would like that this nextcloud root url leads to a public ...
steffres's user avatar
  • 101
1 vote
1 answer
2k views

php geoip not working on ubuntu 18.04 [closed]

I can't get the GeoIP PHP extension working on Ubuntu 18.04 with PHP 7.2 i have intalled it by the cli: sudo apt-get install -y php7.2-geoip Its enabled in system but not working: php7.2 -i | grep ...
Mitra's user avatar
  • 113
0 votes
1 answer
1k views

Hostname won't resolve correctly if apache ServerName isn't localhost

We have a lamp centos 7 server in a datacenter, behind some sort of a Nginx proxy. We only have control over our centos server, we don't know anything about the proxy/firewall or anything. We have ...
Lynob's user avatar
  • 241
0 votes
0 answers
2k views

Nginx - Serve proxy pass target as IP instead of internal DNS

I frequently use Nginx as reverse proxy for deserving all my internal hosted applications. Most of the time, these applications are called with a IP-based address & everything works well. This ...
Damien C's user avatar
  • 161
0 votes
0 answers
114 views

Migrate PHP website from Apache to Nginx

What are the implications of moving a site build in PHP 7 on a server running Apache 2.2 to another running nginx 1.12 (CentOS)? Is there any standard practice for doing this? Are there any ...
HelloWorld's user avatar
0 votes
2 answers
2k views

Nginx Apache reverse proxy with php-fpm

trying to install nginx with apache revers proxy, apache itself does sent to php-fpm to port 9000 on localhost so apache http on port 8081, apache https 444 nginx 80 and nginx ssl 443 php-fpm port ...
Klevin Kona's user avatar
1 vote
2 answers
434 views

How does Nginx act as both reverse proxy and web server? [closed]

This might be a naive question. But I'm too new to client and server concept and wanted to know. I understood what a Reverse proxy is - a server that sits in between clients and origin servers and ...
Underoos's user avatar
  • 113
0 votes
1 answer
1k views

Long TTFB / SSL negotiation in setup of HTTP/2, apache and Nginx as reverse proxy

As in title, i realize partly very long TTFB caused by SSL negotiation longer then one second in setup of HTTP/2, Apache and Nginx as reverse proxy. What could be the setting screws and mostly ...
Evgeniy's user avatar
  • 255
0 votes
1 answer
2k views

nginx mixing cached content between my different domains

I don't know if this is a bug or I am defining cache incorrectly, I have a nginx cache (reverse proxy) server that is used by 2 different domains (mydomain1.com and mydomain2.com), different content, ...
adrianTNT's user avatar
  • 1,139
1 vote
1 answer
2k views

Wordpress Nginx + Apache reverse Proxy permalinks

Allow me to explain my problem. I have a Ubuntu VPS server running 18.04 I have installed Nginx and Apache with php-fpm I've configured Nginx to be a reverse proxy for my wordpress blog located at ...
dbjoe's user avatar
  • 31
0 votes
1 answer
183 views

Nginx rewrite to Apache rewriterule for path

I have a landing page and a text box. They enter some input into the text box and get taken to /search, which I want to load search_res.html. My file structure is: /var/www/html index.html ...
nodel's user avatar
  • 105
1 vote
1 answer
103 views

IP address showing on my web server together with the domain [closed]

Recently I installed VESTACP and nginx, added domain name and everything is fine, I can access my website with domain but also when I type an IP address from server (http://11.11.11.11) I can access ...
Edgar's user avatar
  • 17
0 votes
1 answer
6k views

Nginx: Job for nginx.service failed

After installing Apache web server some days ago, I just installed Nginx web server on my Ubuntu local machine in order to setup a reverse proxy server. But when I try to start up Nginx server by ...
Promise Preston's user avatar
1 vote
1 answer
2k views

Nginx + Reverse Proxy + PrestaShop

I am facing a problem with setting up Nginx as a reverse proxy for Apache2, which serves Prestashop content. Nginx /sites-available/*.conf: server { listen 80 default_server; ...
jvr3k5's user avatar
  • 13
0 votes
1 answer
84 views

NGINX: At which point should a webserver with multiple websites on one process be separated?

Currently looking at rebuilding a webserver from running 10-20 websites on a single Apache server to a NGINX proxy setup with separate docker stacks for each website. However I noticed the current ...
Ben's user avatar
  • 105
0 votes
1 answer
104 views

I have an AWS Elastic Beanstalk - Node.js running on 64bit Amazon Linux/4.10.2. What server is it running?

When I ssh into the EC2 instance and look around the server configuration files, I see Apache config files, NGINX config files. Why are both servers there? Which one takes priority? Do both servers ...
V.Villacis's user avatar

1
2 3 4 5
15