# Override permalink/base\_url value?

**URL:** <https://zola.discourse.group/t/override-permalink-base-url-value/165>\
**Category:** Support\
**Created:** [August 3, 2019, 12:44am UTC](https://zola.discourse.group/t/override-permalink-base-url-value/165 "2019-08-03T00:44:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterGrace](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/petergrace/32/83_2.png) [@PeterGrace](https://zola.discourse.group/u/PeterGrace)\
**Post date:** [August 3, 2019, 12:44am UTC](https://zola.discourse.group/t/override-permalink-base-url-value/165/1 "2019-08-03T00:44:00Z")

</div>

Hi,

I’m running `zola serve` in kubernetes. My website is fronted by an nginx ingress proxy which is handling https. From the nginx proxy inbound into the cluster, my site is accessed via port 80.

I instantiate zola as `zola serve -i 0.0.0.0 -u site.name -p 80`

The problem sneaks in that base\_url is returned in multiple places as “[http://site.name:80/path/to/page](http://site.name:80/path/to/page)” but I need zola to instead show that as “[https://site.name/path/to/page](https://site.name/path/to/page)” – Is this possible somehow?

Looking at the code it appears that base\_url is a concatenation of the base\_url and port, which makes situations like this (reverse proxy) somewhat difficult to work around, I think?

Thanks for any suggestions you can provide.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [August 4, 2019, 1:50pm UTC](https://zola.discourse.group/t/override-permalink-base-url-value/165/2 "2019-08-04T13:50:07Z")

</div>

I’ve never tried that but `zola serve` is only meant for local development. I’m not sure there is a way around that

---

<div class="post-metadata">

**Author:** ![PeterGrace](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/petergrace/32/83_2.png) [@PeterGrace](https://zola.discourse.group/u/PeterGrace)\
**Post date:** [August 4, 2019, 4:53pm UTC](https://zola.discourse.group/t/override-permalink-base-url-value/165/3 "2019-08-04T16:53:43Z")

</div>

I figured that `zola serve` was a legitimate way to serve the site; I’ve since transitioned to nginx hosting the public/ folder and that’s working well.
