File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,24 @@ Twig shortcuts (or are :ref:`processing your assets through entrypoints.json <lo
1717in some other way), you're done: the paths in your templates will automatically point
1818to the dev server.
1919
20+ Enabling HTTPS using the Symfony Web Server
21+ -------------------------------------------
22+
23+ If you're using the :doc: `Symfony web server </setup/symfony_server >` locally with HTTPS,
24+ you'll need to also tell the dev-server to use HTTPS. To do this, you can reuse the Symfony web
25+ server SSL certificate:
26+
27+ .. code-block :: terminal
28+
29+ # Unix-based systems
30+ $ yarn dev-server --https --pfx=$HOME/.symfony/certs/default.p12
31+
32+ # Windows
33+ $ encore dev-server --https --pfx=%UserProfile%\.symfony\certs\default.p12
34+
35+ dev-server Options
36+ ------------------
37+
2038The ``dev-server `` command supports all the options defined by `webpack-dev-server `_.
2139You can set these options via command line options:
2240
You can’t perform that action at this time.
0 commit comments