# SSL Apache Reverse Proxy with sub directory

**URL:** <https://community.grafana.com/t/ssl-apache-reverse-proxy-with-sub-directory/61808>\
**Category:** Configuration\
**Tags:** reverse-proxy\
**Created:** [March 4, 2022, 6:29am UTC](https://community.grafana.com/t/ssl-apache-reverse-proxy-with-sub-directory/61808 "2022-03-04T06:29:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeje68](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jeje68](https://community.grafana.com/u/jeje68)\
**Post date:** [March 4, 2022, 6:29am UTC](https://community.grafana.com/t/ssl-apache-reverse-proxy-with-sub-directory/61808/1 "2022-03-04T06:29:53Z")

</div>

Hi,

I want to use grafana with Apache reverse proxy on HTTPS, but it doesn’t work. When I access to the website FQDN/grafana/, I come back on FQDN/login with an 404 error page.

My apache configuration :

> **Summary**
>
> This text will be hidden

ProxyPass “/grafana” “[http://grafana.staged-by-discourse.com](http://grafana.staged-by-discourse.com)”  
ProxyPassReverse “/grafana” “[http://grafana.staged-by-discourse.com](http://grafana.staged-by-discourse.com)”  
ReWriteEngine on

My grafana configuration :  
;protocol = http  
;http\_port = 3000  
;domain = FQDN  
;enforce\_domain = false  
;root\_url = %(protocol)s://%(domain)s/grafana/  
;serve\_from\_sub\_path = true

Can someone help me please?

Thank you very much

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [March 4, 2022, 9:40pm UTC](https://community.grafana.com/t/ssl-apache-reverse-proxy-with-sub-directory/61808/2 "2022-03-04T21:40:15Z")

</div>

> [@jeje68](#):
>
> FQDN/login

what is this `login` subpath? Some sort of security level?

This recent issue might help as well:

> <https://github.com/grafana/grafana/issues/45117#issuecomment-1033842787>
>
> \*\*What happened\*\*:
> Unable to create a new dashboard or save changes to existing… dashboards following update to Grafana v8.3.5 
> 
> \*\*What you expected to happen\*\*:
> Ability to create/modify dashboards in Grafana
> 
> \*\*How to reproduce it (as minimally and precisely as possible)\*\*:
> \- Log into Grafana instance and click on "+" button and create new dashboard
> \- Go to save the dashboard into a folder
> \- Attempt to save fails, "Origin Not Allowed" error shows up in upper right corner
> 
> \*\*Anything else we need to know?\*\*:
> Attached is what I'm seeing in the console upon trying to save; looks like it is getting a 403 Forbidden for FQDN/api/dashboards/db and this is preventing dashboard from saving. Clicking the "Save" button prompts one of these errors in the console. I'm also seeing a 403 Forbidden on FQDN/api/frontend-metrics and a screenshot for that is attached too. I'm not seeing anything of particular use in the /var/log/grafana/grafana.log at INFO level, let me know if I should try debug level.  
> \<img width="1676" alt="Screen Shot 2022-02-08 at 10 26 05 PM" src="https://user-images.githubusercontent.com/16138910/153122711-779a4b11-48f3-4071-a5da-b7dd218859de.png"\>
> \<img width="1675" alt="Screen Shot 2022-02-08 at 10 31 46 PM" src="https://user-images.githubusercontent.com/16138910/153122716-9a93814d-2712-43ee-83cf-6883646cfb9c.png"\>
> 
> 
> \*\*Environment\*\*:
> \- Grafana version: 8.3.5
> \- Data source type & version: InfluxDB
> \- OS Grafana is installed on: RHEL 8
> \- User OS & Browser: Safari, Chrome
> \- Grafana plugins: None
> \- Others: None
