Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Re: Server redirect without rewrite rules in Nginx config

try_files might also do the trick but with fallback you might not be able to return contents and a 302, you'd have to experiment with Curl to see what happens, some...

View Article


beginner's question: Site Configuration, same Port, 2 Locations

Hi,i'm just new to nginx and need help.I wan't to activate two sites, both with listen 443 and the same certificate:1.) Owncloud2.) FHEM with Reverse Proxy port 8083They're both installed on the same...

View Article


Re: beginner's question: Site Configuration, same Port, 2 Locations

Klouse Wrote:-------------------------------------------------------> server {> listen 443 ssl;> server_name test;[...]> fhem config file:> -----> server {> listen 443 ssl;>...

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

Hello, I have a similar project .I want to let OTRS & OITC run on the same server ,but on different folders behind the URL like https://URL.com/oitc & https://URL.com/otrs

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

Setup a location block for each, its really that simple.

View Article


Re: beginner's question: Site Configuration, same Port, 2 Locations

Can you explain this a little ?

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

i have attached my two cfg files.

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

Place them on nginx pastebin (http://pastebin.com/archive/nginx) attachments here are mostly not readable.

View Article


Re: beginner's question: Site Configuration, same Port, 2 Locations

OK here it ishttp://pastebin.com/NBw9sk1Ghttp://pastebin.com/pcdYqk9cThanks

View Article


Re: beginner's question: Site Configuration, same Port, 2 Locations

It looks like you can merge the 2 configs, have you tried it yet?

View Article

Yii2 *.conf for frontend, backend and api (!)

Frontend (/) work succesfully.Backend (/admin) work succesfully.Api (/api) returned 404.My nginx configurations for host (Windows 7):## Yii2 Advensed template configs#server {listen 5000;server_name...

View Article

Re: Yii2 *.conf for frontend, backend and api (!)

If I modified- location /api {+ location /api2 {Then uri "/api2" worked complete...

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

I don't know?And the other question is, how can i redirect the installation from base URL to /oitc?

View Article


Re: beginner's question: Site Configuration, same Port, 2 Locations

Lets first try to get what you want done, merge the two configs, give it a try and come back with error messages.Learning how things work with nginx is more important.

View Article

Re: beginner's question: Site Configuration, same Port, 2 Locations

I have no idea to merge these two files.These are my first steps with NGINX.And the other question is still to move the first Site to the folder, and the rewrite rules from the SIte.I think i can't put...

View Article


Get file with DAV instead of execution result

HI,How do I prevent file execution when using DAV?I need to get the source of a PERL file for remote edition, but NGINX only serves the result of the execution through FCGI. I have attached a small...

View Article

NginX works with an index.php file, but not with the other

Hello Guys,I have been given a task to migrate a very old website to a new server. The old server was using PHP 5.4, the new one is using PHP 5.6, but this is not the issue I think. My main problem is,...

View Article


Re: NginX works with an index.php file, but not with the other

What do the logfiles say?

View Article

Re: NginX works with an index.php file, but not with the other

This is the best part. Nothing.Since the web browser doesn't even reach NginX, the NginX logs don't show anything. And if it points to the same locations subfolder with another index.php, then there is...

View Article

Re: NginX works with an index.php file, but not with the other

You have to see something in nginx logfiles, if not then your requests are not reaching nginx but are blocked by something else in front of nginx.btw.:access_log...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>