Question:
I include my CSS files in the header:
1 2 |
In the S3 interface under Properties–>Metadata–>
1 2 3 |
Key: Content-Type Value: text/css |
Permissions are granted to Everyone
with Open/Download
Still not working.
Answer:
The problem is determining the path to the static content of the application (it depends on path the application starts olso)
Solutions are:
- Start application from root application path
example: ApplicationName path=/home/ec2-user/site then need
12cd /home/ec2-user/site && ./ApplicationName - Configure path for method .UseWebRoot(path_to_static_content)