Hello,
I try to use Nginx as a proxy (for SSL) on a Jetty server. The Jetty
application should be accessed by a subdirectory of my Nginx. I have setup this
location configuration:
location /myapp {
proxy_pass http://localhost:8112;
proxy_set_headerX-Forwarded-Host
Am 01.06.2014 um 20:16 schrieb Francis Daly :
> Strictly, it's that this location is the one that best matches the
> request. ("first" doesn't really apply.)
>
> See http://nginx.org/r/location for details.
okay, I have try to swap both location, imho I have translate "best location"
with "fir
Hello,
I'm using nginx with Gitlab, so in the Gitlab some PHP projects are hosted and
on other directory there exists some PHP scripts.
For the PHP files I use:
location ~ \.php$ {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name)
Hi,
Am 16.02.2014 um 21:38 schrieb Jim Ohlstein :
> With a nested location, or, if all the contents of /home/www/content/scripts
> are PHP scripts, use a fastcgi_pass.
>
> Remember, all requests are handed by one location, and one location only.
> Writing instructions for how to handle PHP scr
Hi
thanks for your answer, seems to be working
> ==
> location ^~ /scripts/ {
> # do your /scripts/ stuff
> }
> location / {
> # do everything else
> }
> ==
I have defined my script location with:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi
Hello,
I'm using Nginx as proxy for a Tomcat 7. My configuration shows:
upstream tomcat {
server 127.0.0.1:9090 fail_timeout=0;
}
location /jenkins
{
proxy_set_headerHost $http_host;
proxy_set_headerX-Real-IP $remote_addr;
proxy_set_headerX-For
Hello,
I'm using the following rewrite options
{
try_files $uri @pico;
}
location @pico
{
rewrite ^(.*)$ /index.php;
}
So I would like to disable the rewrite for one subfolder. I have some PHP
scripts with should not use the
rewrite call e
Am 29.10.2013 um 21:30 schrieb Francis Daly :
> On Tue, Oct 29, 2013 at 07:34:15PM +0100, Philipp Kraus wrote:
>
> Hi there,
>
>>location /gitlab {
>>root /home/gitlab/gitlab/public;
>>try_files $uri $uri/index.html $uri.html @gitlab;
Hello,
I have created for my GitLab installation this entries in the configuration:
location /gitlab {
root /home/gitlab/gitlab/public;
try_files $uri $uri/index.html $uri.html @gitlab;
}
location @gitlab {
proxy_read_timeout 300;
proxy_connect_ti
Hi,
Am 25.10.2013 um 10:01 schrieb Francis Daly :
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
> looks like it may have useful information.
I have used this how to, but I cannot create a working solution
> Fix jenkins so that it knows it is below /jenkins/,
Hello,
I would like to configure ngix with jenkins, nginx should be a proxy for the
jenkins instance. I have configuration the proxy pass options in this way:
location /jenkins {
proxy_pass http://localhost:8080/;
proxy_redirect off;
proxy_set_header Ho
11 matches
Mail list logo