Skip to content

Commit e63a4fd

Browse files
Merge pull request #86 from conjoon/dev
Dev
2 parents c2c8db4 + f3be5df commit e63a4fd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,16 @@ further details about the configuration options available:
2727
## Related Resources
2828
A pre-configured container for running an instance of **lumen-app-email** is also available and can be found at
2929
[conjoon\/ddev-ms-email](https://github.com/conjoon/ddev-ms-email).
30+
31+
## nginx configuration
32+
The default distribution of **lumen-app-emails** contains an `.htaccess`-file containing rewrite rules for properly
33+
routing API paths when using an **Apache HTTP Server**.
34+
If you want to use **nginx**, you can apply the following configuration to make sure requests are properly routed.
35+
36+
Assuming **lumen-app-email** is installed in `./htdocs` - relative to the (virtual) server's `root`-dir:
37+
38+
```apacheconf
39+
location /htdocs {
40+
try_files $uri $uri/ /htdocs/app/public/index.php?$query_string;
41+
}
42+
```

0 commit comments

Comments
 (0)