Project

General

Profile

Actions

Defect #42114

closed

Themes are not working as expected with nginx

Added by Yar n 4 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Themes
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hello,
i've checked this new change:
https://www.redmine.org/projects/redmine/wiki/Themes

and i'm trying to make it work under nginx, but no luck... This new themes directory like invisible.
all files giving 404.
i also copied themes where default one stored, but it also doesn't help.

my current nginx config:

server {
server_name server;
listen 443 ssl ;
root /home/redmine/redmine/public;
ssl_certificate fullchain.cer;
ssl_certificate_key key.pem;
client_max_body_size 100m;
location / {
try_files $uri/index.html $uri.html $uri @ruby;
}
location @ruby {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_read_timeout 300;
proxy_pass http://puma_redmine;
}
}
Actions

Also available in: Atom PDF