Comments (5)
Wasmer can now run nginx successfully!
Steps to run Nginx locally
- Get latest verison of wasmer
curl https://get.wasmer.io -sSfL | sh
- Download the nginx example
git clone https://github.com/wasmerio/wasmer-nginx-example.git
cd wasmer-nginx-example
- Run nginx with wasmer
wasmer run nginx.wasm -- -p . -c nginx.conf
Nginx is now running! 🎉
Now you should be able to access: http://localhost:8080/ from your browser
Notes
We are working on containerization, so steps 2 and 3 will be much simpler in future releases.
from wasmer.
We're still working on getting nginx.wasm
to run. There are quite a few apis that we need to implement first. I'm guessing the illegal instruction
error you're getting is the wasm trapping somewhere because the mocked apis aren't returning right.
from wasmer.
@lachlansneff makes sense! I went by the homepage. Thank you
from wasmer.
Related PR #27
from wasmer.
While we merged #27, there is still some work in progress that we need to do in order to have nginx fully running.
We are super close though :)
from wasmer.
Related Issues (20)
- Edge-CLI: deploy command does not use latest package version HOT 1
- Edge-CLI: deploy command: Pin version of inline packages to strict specific version HOT 1
- Edge-CLI: Validate package/module compatibility when publishing apps HOT 1
- Improve Singlepass performance on Aarch64 (popcnt, select) HOT 1
- Upgrade wasmparser HOT 1
- Fix all usage of items deprecated in #4398 HOT 1
- CI: Flaky virtual-net tests on MUSL HOT 1
- CLI: "container unpack" command does not correctly unpack atoms HOT 1
- Mobile compatible wasmer engine HOT 4
- example wasm.hh Code running error HOT 1
- Upgrade to tlsv2 HOT 2
- Fuzz tests are broken HOT 1
- WASI Preview 2 Support HOT 3
- Fetching logs for an app fails HOT 2
- Broken on nightly because of ahash 0.7 (aka "update hashbrown") HOT 4
- PHP execution breaks after consecutive requests HOT 2
- Fix failure when fetching logs for an app HOT 2
- Make wordpress (in PHP) run end to end in Wasmer/WASIX HOT 2
- Potential Bug: Use-of-Uninitialized-Value HOT 1
- Possible race condition on `virtual-fs` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmer.