# Static html website is processed by apache2

**URL:** <https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980>\
**Category:** Web\
**Created:** [July 16, 2026, 1:04pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980 "2026-07-16T13:04:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonk](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@Leonk](https://forum.hestiacp.com/u/Leonk)\
**Post date:** [July 16, 2026, 1:04pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980/1 "2026-07-16T13:04:12Z")

</div>

Hello all

I had a website on wp with php-fpm and today i migrated to full static html website

Still see logs of requests in /var/log/apache2/domains/site.com.log and seems my rules in stpl template for rewrite does not work because of that. Also my .htaccess does not work.

my rewrite rules in nginx:

`location ~ ^(?<basepath>.*/)index\.html$ `  
`{ `  
`return 301 $basepath$is_args$args;`  
` }`

What can I check?

---

<div class="post-metadata">

**Author:** ![Leonk](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@Leonk](https://forum.hestiacp.com/u/Leonk)\
**Post date:** [July 16, 2026, 2:31pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980/2 "2026-07-16T14:31:19Z")

</div>

ok i 've solved my issue by removing htm and html extensions from nginx but still not clear why apache serves my html website

---

<div class="post-metadata">

**Author:** ![maurice](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@maurice](https://forum.hestiacp.com/u/maurice)\
**Post date:** [July 16, 2026, 5:33pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980/3 "2026-07-16T17:33:14Z")

</div>

If you use nginx + apache2 on hestia, the shell var WEB\_SYSTEM has the value ‘apache2’ (defined in /usr/loca/hestia/conf/hestia.conf).  
By default the nginx logfiles are being written to /var/log/%web\_system%/domains/%domain%.log  
Which means that if you are using nginx + apache2 the logs are still in /var/log/apache2/domains/… even when they are written by nginx

---

<div class="post-metadata">

**Author:** ![Leonk](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@Leonk](https://forum.hestiacp.com/u/Leonk)\
**Post date:** [July 16, 2026, 5:45pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980/5 "2026-07-16T17:45:20Z")

</div>

why do i have lots of logs related to my other websites in /var/log/nginx/domains/ ?

but they are static html website however i use nginx + apache build

---

<div class="post-metadata">

**Author:** ![maurice](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/m/d6d6ee/32.png) [@maurice](https://forum.hestiacp.com/u/maurice)\
**Post date:** [July 16, 2026, 5:47pm UTC](https://forum.hestiacp.com/t/static-html-website-is-processed-by-apache2/21980/6 "2026-07-16T17:47:58Z")

</div>

> [@Leonk](#):
>
> why do i have lots of logs related to my other websites in /var/log/nginx/domains/ ?

I don’t know, check your nginx virtual hosts configurations if you want to know.
