Apache config documentation

Created on 27 February 2024, 4 months ago

Problem/Motivation

storybook.md docs have nginx config, but not apache.

Proposed resolution

Add to documentation

### apache

In order to get this set up correctly we must first edit this file: `.ddev/apache/apache-site.conf`.

1. Inside each `<VirtualHost>` directive, add this element:

```
    # Allow file resources to load in storybook.
    <IfModule mod_headers.c>
      <Files ~ "\.(png|jpg|jpeg|gif|ico|svg|woff|woff2|css|js)$">
        Header set Access-Control-Allow-Origin "*"
      </Files>
    </IfModule>
```
πŸ“Œ Task
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States agentrickard Georgia (US)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024