acme-companion: Refused to apply style because the script was loaded even though its MIME type is not a valid JavaScript MIME type
Hello, I make a Identity Server program with Asp.Net Core 2.2 and it works well on http://mydomain.com with the below configuration:
identityserver:
image: identityserver
build:
context: .
dockerfile: IdentityServer/Dockerfile
container_name: is4
ports:
- 5000:5000
environment:
ASPNETCORE_ENVIRONMENT: Development
VIRTUAL_PORT: 5000
VIRTUAL_HOST: my.domain1.com
I have a good format on httpπ/my.domain1.com
When I apply SSL with your Letβs Encrypt docker to this same code with the below configuration:
identityserver:
image: identityserver
build:
context: .
dockerfile: IdentityServer/Dockerfile
container_name: is4
restart: always
environment:
ASPNETCORE_ENVIRONMENT: Development
VIRTUAL_PORT: 5000
VIRTUAL_HOST: my.domain2com
LETSENCRYPT_HOST: my.domain2.com
LETSENCRYPT_EMAIL: address@domain2.com
I have a formatting problem on httpsπ/my.donmain2.com:
In the Firefox web developer:



What do I have to do to fix this issue? Thank you.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (8 by maintainers)
It is solved. Before, I used the app publication by FTP. Now It is necessary to do:
=> OK